Couple of soap errors on invoking a webmethod in ASPNet web services
Hi there!!
I am consuming an ASP.Net webservice from a simple .Net application by
adding a web reference. However when I invoke the web method, we see a
couple of soap error entries in the application event log with the
result that the http request is not successfully completed.
We even tried to invoke the web method directly from the asmx page in
IE providing in the required parameters. We still get the same errors.
Please note this problem is intermittent and does not happend
everytime.
The following are the event log entries:
Soap error: XML Parser failed at linenumber 0, lineposition 0, reason
is: The download of the specified resource has failed.
Soap error: Soap client is not initialized.
Soap error: One of the parameters supplied is invalid..
Soap error: Loading of the WSDL file failed.
Sometimes we get a little different kind of event log entries as given
below:
aspnet_wp.exe (PID: 2228) stopped unexpectedly.
Soap error: One of the parameters supplied is invalid..
Soap error: Loading of the WSDL file failed.
Soap error: XML Parser failed at linenumber 0, lineposition 0, reason
is:
The system cannot locate the object specified.
We fail to understand as to where is the problem. We can easily browse
to the wsdl file successfully.
We are not invoking any SoapToolkit 3.0.
Any help will be greatly appreciated.
Thanks,
Sadhvi
[1503 byte] By [
Sadhvi] at [2008-2-2]
Sadhvi,
Sorry for the delayed response... just going through all these posts now.
Are you sure you're not using the SoapToolkit? I cannot find anywhere in the .NET framework where we raise this error message.
Are you writing the code that writes to the event log? If so, then can you also include the callstack of the exception so that we can identify where the error is occuring?
As far as the aspnet_wp.exe stopped unexpectedly error, we might need to debug into that by capturing a crash dump.
286350 How to use ADPlus to troubleshoot "hangs" and "crashes"
http://support.microsoft.com/?id=286350
Let me know if I can help with this issue.
Thanks
-Todd Foust
We are getting a similar error (we are using SOAPToolkit) when we try to call a web service. The error is:
WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057 - WSDKReader:XML Parser failed at linenumber 0, lineposition 0, reason is: Access is denied.
Note that this ONLY happens on the terminal server and ONLY THEN for non-Administrator users.
We have racked our brains changing just about every security setting. Any help would be most appreciated.
-Steve Faris
I am also getting the problem after I deploy my webservice from developing machine to test server.
I saw a lot of people posting with this problem, but never saw a real solution to it, either is about security or something else.
It's kind of disappointed that microsoft folks did not come out to at least give some help.
Here is error I got at second line:
WSDL_URL = "http://localhost/WebServices/WebService.asmx?WSDL"
SoapClient.mssoapinit WSDL_URL SoapClient.mssoapinit WSDL_URL
-
WSDLReader error '80020009'
WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: The download of the specified resource has failed. HRESULT=0x1: Incorrect function. - WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect. - Client
ne of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect