Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:26 AM UTC

Uniface 9: WSDL location

WSDL location

Author: roger.wallin@abilita.fi (rogerw)

Hi,

"WSDL files are normally located on the Web, so the ImportFile is typically a URL, since WSDL files are normally located on the Web/ For example,
/sti /mwr=ws http://www.MySite.com/MyWebService/MyWebService.WSDL
However, at run time the file location is checked first time when a session starts. For performance reasons, it might be preferable to download the WSDL from the Web to a local file before importing it so this runtime check is local instead of remote."
This can be used e.g. to change the ip.

At development-time you can change the location of the WSDL-file in the "Signature -> Implementation ... -> Soap properties -> Define SOAP Properties -> URL of the WSDL". Isn't there any chance to define the file location, so that it would be possible to dynamically change it at installation time? 

Regards RogerW.

PS. The nearest I have come a dynamic location is to leave out the url, just writing the WSDL-name  "URL of the WSDL = MyWebService.WSDL". Then at run time the  WSDL check is done on your working directory. Because of the installation to a lot of different customers with different file-server mappings, I would like to be able to set the location to any directory-location without recompilation of the signature. I have tried to redirect *.wsdl in the asn-file, but without success. 

15 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:26 AM UTC

WSDL location

Author: roger.wallin@abilita.fi (rogerw)

Hi,

"WSDL files are normally located on the Web, so the ImportFile is typically a URL, since WSDL files are normally located on the Web/ For example,
/sti /mwr=ws http://www.MySite.com/MyWebService/MyWebService.WSDL
However, at run time the file location is checked first time when a session starts. For performance reasons, it might be preferable to download the WSDL from the Web to a local file before importing it so this runtime check is local instead of remote."
This can be used e.g. to change the ip.

At development-time you can change the location of the WSDL-file in the "Signature -> Implementation ... -> Soap properties -> Define SOAP Properties -> URL of the WSDL". Isn't there any chance to define the file location, so that it would be possible to dynamically change it at installation time? 

Regards RogerW.

PS. The nearest I have come a dynamic location is to leave out the url, just writing the WSDL-name  "URL of the WSDL = MyWebService.WSDL". Then at run time the  WSDL check is done on your working directory. Because of the installation to a lot of different customers with different file-server mappings, I would like to be able to set the location to any directory-location without recompilation of the signature. I have tried to redirect *.wsdl in the asn-file, but without success. 

Hi,

I don't have time to test it today, but did it really work using "..\\"   in the signature?
However, one problem for us is that usually the users of the same organisation have their working directory (startup folder)
locally "C:\\Uniface" or "F:\\" where F is "\\\\server\\home\\Mary".

Regards RogerW.
 


Author: rogerw (roger.wallin@abilita.fi)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:26 AM UTC

WSDL location

Author: roger.wallin@abilita.fi (rogerw)

Hi,

"WSDL files are normally located on the Web, so the ImportFile is typically a URL, since WSDL files are normally located on the Web/ For example,
/sti /mwr=ws http://www.MySite.com/MyWebService/MyWebService.WSDL
However, at run time the file location is checked first time when a session starts. For performance reasons, it might be preferable to download the WSDL from the Web to a local file before importing it so this runtime check is local instead of remote."
This can be used e.g. to change the ip.

At development-time you can change the location of the WSDL-file in the "Signature -> Implementation ... -> Soap properties -> Define SOAP Properties -> URL of the WSDL". Isn't there any chance to define the file location, so that it would be possible to dynamically change it at installation time? 

Regards RogerW.

PS. The nearest I have come a dynamic location is to leave out the url, just writing the WSDL-name  "URL of the WSDL = MyWebService.WSDL". Then at run time the  WSDL check is done on your working directory. Because of the installation to a lot of different customers with different file-server mappings, I would like to be able to set the location to any directory-location without recompilation of the signature. I have tried to redirect *.wsdl in the asn-file, but without success. 

Thanks a lot.

 

I fount it  :-)

 

Regards

Satheesh


Author: Satheesh (satheesh.balu.m@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:26 AM UTC

WSDL location

Author: roger.wallin@abilita.fi (rogerw)

Hi,

"WSDL files are normally located on the Web, so the ImportFile is typically a URL, since WSDL files are normally located on the Web/ For example,
/sti /mwr=ws http://www.MySite.com/MyWebService/MyWebService.WSDL
However, at run time the file location is checked first time when a session starts. For performance reasons, it might be preferable to download the WSDL from the Web to a local file before importing it so this runtime check is local instead of remote."
This can be used e.g. to change the ip.

At development-time you can change the location of the WSDL-file in the "Signature -> Implementation ... -> Soap properties -> Define SOAP Properties -> URL of the WSDL". Isn't there any chance to define the file location, so that it would be possible to dynamically change it at installation time? 

Regards RogerW.

PS. The nearest I have come a dynamic location is to leave out the url, just writing the WSDL-name  "URL of the WSDL = MyWebService.WSDL". Then at run time the  WSDL check is done on your working directory. Because of the installation to a lot of different customers with different file-server mappings, I would like to be able to set the location to any directory-location without recompilation of the signature. I have tried to redirect *.wsdl in the asn-file, but without success. 

Hi,

you will find the signatures under "Pulldown -> Editors -> Signatures". You should find your web-service signature among the other signatures. Having found the signature it will be easier to proceed. :)

Regards RogerW.


Author: rogerw (roger.wallin@abilita.fi)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:26 AM UTC

WSDL location

Author: roger.wallin@abilita.fi (rogerw)

Hi,

"WSDL files are normally located on the Web, so the ImportFile is typically a URL, since WSDL files are normally located on the Web/ For example,
/sti /mwr=ws http://www.MySite.com/MyWebService/MyWebService.WSDL
However, at run time the file location is checked first time when a session starts. For performance reasons, it might be preferable to download the WSDL from the Web to a local file before importing it so this runtime check is local instead of remote."
This can be used e.g. to change the ip.

At development-time you can change the location of the WSDL-file in the "Signature -> Implementation ... -> Soap properties -> Define SOAP Properties -> URL of the WSDL". Isn't there any chance to define the file location, so that it would be possible to dynamically change it at installation time? 

Regards RogerW.

PS. The nearest I have come a dynamic location is to leave out the url, just writing the WSDL-name  "URL of the WSDL = MyWebService.WSDL". Then at run time the  WSDL check is done on your working directory. Because of the installation to a lot of different customers with different file-server mappings, I would like to be able to set the location to any directory-location without recompilation of the signature. I have tried to redirect *.wsdl in the asn-file, but without success. 

Hello,

I used the below command to import the wsdl for testing purpose. Is that correct?

/sti /mwr=ws I:\\projects\\32321 business\\VerlianzKalcService.wsdl

 

After running in switch, where can I find the signature of this wsdl? Where does the signature located?

How can I edit the signature to change the service name?

 

I have defined the below in asn file.

[DRIVER_SETTINGS]
ORA = U6.4
MSS = U4.0
SOL = U3.3
SOP U2.0

 

Thanks

Satheesh.B


Author: Satheesh (satheesh.balu.m@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:26 AM UTC

WSDL location

Author: roger.wallin@abilita.fi (rogerw)

Hi,

"WSDL files are normally located on the Web, so the ImportFile is typically a URL, since WSDL files are normally located on the Web/ For example,
/sti /mwr=ws http://www.MySite.com/MyWebService/MyWebService.WSDL
However, at run time the file location is checked first time when a session starts. For performance reasons, it might be preferable to download the WSDL from the Web to a local file before importing it so this runtime check is local instead of remote."
This can be used e.g. to change the ip.

At development-time you can change the location of the WSDL-file in the "Signature -> Implementation ... -> Soap properties -> Define SOAP Properties -> URL of the WSDL". Isn't there any chance to define the file location, so that it would be possible to dynamically change it at installation time? 

Regards RogerW.

PS. The nearest I have come a dynamic location is to leave out the url, just writing the WSDL-name  "URL of the WSDL = MyWebService.WSDL". Then at run time the  WSDL check is done on your working directory. Because of the installation to a lot of different customers with different file-server mappings, I would like to be able to set the location to any directory-location without recompilation of the signature. I have tried to redirect *.wsdl in the asn-file, but without success. 

Hi,

I tested and found out that [SERVICES_EXEC] can be used both with File-location and URL-location, which should be enough.
[SERVICES_EXEC]
myservice=$sop:myservice wsdl=c:\\test\\myservice.wsdl
;myservice=$sop:myservice wsdl=http://testserver/Myserver/myservice.svc?wsdl


But I don't know when and how the
[DRIVER_SETTINGS]
usys$sop_params=wsdl=c:\\temp\\myservice.wsdl

should be used. It works and the wsdl is found, however I don't know how it's connected to the right signature or if one can use it for several signatures?
Perhaps the "Service Local Name" of the SOAP-properties should be the same as the WSDL file-name.

Regards RogerW.

PS. This is a nice improvement! However if Compuware/Uniface sometimes would like to improve this they could make it possible to dynamically in code change the endpoint of a service, ie. making it possible from the same client-session to use the same service installed at different addresses.
 


Author: rogerw (roger.wallin@abilita.fi)