Check your firewall - make sure your app has access to port 80 when it runs (the firewall alert should pop up when you run it for the first time).
+++ Rick ---
>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."