PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → ..Address property of webservice
..Address property of webservice
Iniciado por guest, 18,ago. 2015 12:36 - 1 respuesta
Publicado el 18,agosto 2015 - 12:36
Did someone try to change ..Address property of Webservice and work with this? I am testing the situation when imported in WinDev webservice moves to another host. I created a text control where I can enter overriding value for location of WSDL file. I enter the value like this:

http://some.ip/WEB_SERVICE_WEB/awws/web_service.awws…

the result code looks like:
web_service..Address = 'http://some.ip/WEB_SERVICE_WEB/awws/web_service.awws…' let res = web_service.DoSomeFunction() but in result I get an error The server response contains no 'Envelope' tag

If someone knows what I did wrong? And is it possible in principle to work with native webservice functions in WinDev as with regular ones when ..Address is changed?
Publicado el 18,agosto 2015 - 12:45
Hi,

For the ..addres property, the help states:

Used to replace the call address of the Webservice described in the WSDL by another >>URL. This property is useful if the Webservice is hosted on different servers.
This property has the following format: "http://server:port/webservice_path".


So if this is used to replace the address described in the wsdl, the address should clearly NOT point to a wsdl.

Best regards