>>Hi, I have one application that needs to use a web service. I first tried using VFP9's toolbox to register it and test it, but when I try to do it, it shows me an error. What I noticed is that the url of the web service does not end with a "wsdl" extension, instead it has this form: "
https://app.supplier.com/ws/" (this is not the real url, but it looks like it), and the url to call a method called "Login" is like: "
https://app.supplier.com/ws/WSsupplier.asmx?op=Login".
>>
>>So, how can I use that web service?
>>
>>Thank you in advance.
>
>It's a .NET webservice so the wsdl should be there. Try:
https://app.supplier.com/ws/WSsupplier.asmx?wsdl
in a browser. If that works (and assuming you are using the webservice vcx) then use you can examine the XML to determine how to call one of the the methods:
client = ws.SetUpClient("https://app.supplier.com/ws/WSsupplier.asmx","{service name}","{port name}")
>result = client.{Method name}(required parameters)
Thank you, I found the wsdl, just like you suggested. I registered the web service in the VFP toolbox, it looks that it works. I will let you know if it completely works or if I find any other issue.
.