M
Meghana Deshpande
Hi,
I have a Web Service on a Windows 2003 Server. I am accessing this
from a client machine that is a Windows 2000 Server. The code calling
the WebService is as follows:
Dim objSoapClient
set objSoapClient = server.CreateObject("MSSOAP.SoapClient")
objSoapClient.mssoapinit("http://servername/WS/HelloTest.asmx?WSDL")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
response.Write (objSoapClient.HelloWorld("MyName"))
I get the following error message:
WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057 -
WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason
is: No data is available for the requested resource. HRESULT=0x1
The WSDL file is present at the required location. Also, I have gone
through the SOAP ToolKit 2.0 FAQs on MSDN and configured Proxycfg.exe
as mentioned in one of the FAQs (1.11) but no luck. The error is
persistent.
Also, the HRESULT says "Invalid arguments" which does not make sense
since the web service exposes only one method and has only two
parameters.
Anything that I am missing here?
Please let me know.
Thanks,
Meghana.
I have a Web Service on a Windows 2003 Server. I am accessing this
from a client machine that is a Windows 2000 Server. The code calling
the WebService is as follows:
Dim objSoapClient
set objSoapClient = server.CreateObject("MSSOAP.SoapClient")
objSoapClient.mssoapinit("http://servername/WS/HelloTest.asmx?WSDL")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
response.Write (objSoapClient.HelloWorld("MyName"))
I get the following error message:
WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057 -
WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason
is: No data is available for the requested resource. HRESULT=0x1
The WSDL file is present at the required location. Also, I have gone
through the SOAP ToolKit 2.0 FAQs on MSDN and configured Proxycfg.exe
as mentioned in one of the FAQs (1.11) but no luck. The error is
persistent.
Also, the HRESULT says "Invalid arguments" which does not make sense
since the web service exposes only one method and has only two
parameters.
Anything that I am missing here?
Please let me know.
Thanks,
Meghana.