I have this code:
loWebService=Createobject("MSSOAP.SOAPClient30")
loWebService.mssoapinit("http://www.mydomain.com/WebService/WebService.asmx?wsdl")
This works ok on DEV and QA. They have Windows Server 2003.
On UAT, this does not work. The mssoapinit line gives this error:
"OLE IDispatch exception code 0 from WSDLReader: WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: The download of the specified resource has failed. HRESULT=0x1: Incorrect function."
This is the same version of Visual FoxPro. However, this is on Windows Server 2008.
If I try to call the URL directly in the Web browser from the UAT server, it works.
I am wondering if the SOAP client is compliant with that OS.
Anyone would know what is missing here?
Note that Thread #
1608717 discussed something related to that. Then, I had to put this:
loWebService.ClientProperty("ServerHTTPRequest")=.T.
But, today, even if I put this, it gives an error. That one would be:
"OLE IDispatch exception code 0 from WSDLReader: WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: A security error occurred HRESULT=0x1: Incorrect function."