Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error from the WSDL Reader:Loading of the WSDL file failed

1,842 views
Skip to first unread message

Laurence Everitt

unread,
Jul 4, 2001, 10:35:12 AM7/4/01
to
I have installed MSSOAP to Service Pack 2 on my client and server machines.
I am using the high level API to communicate from the client to the server,
calling
a Web Service on the server.

This works, but when I make both processes run on the same machine (in
different
IIS Applications) I get this error when I run the mssoapinit method on the
MSSoap
object on the client:

Error code: -2147352567
Error Description: 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

I have checked the WSDL on the server process and it is correct and shows
properly
in IE 5.5 and MS XML Notepad.

What is going wrong?

Regards,


Laurence Everitt


Laurence Everitt

unread,
Jul 4, 2001, 12:07:27 PM7/4/01
to
Further to this, I have been able to replicate the error using the code
from:
http://support.microsoft.com/support/kb/articles/Q281/1/42.ASP
on the server machine, using MSXML 3, where the server is LOADing the
WSDL from the server or from my own machine.

I could not replicate the error going from my own machine to my own
machine or my own machine to the server. When I included the "fix" as
suggested, the issue was solved, so the problem seems to be with the
High level API and MSXML3 on the Server.

I have verified that the two MSXML3 DLL's on my machine and the
Server machine are the same version. The only difference between the
installations of SOAP are:

I took the copy for my machine from the MSDN site last Friday and
I took the copy for the server from the MSDN site on Monday.

Ideas?


"Laurence Everitt" <Laur...@zy.com> wrote in message
news:tk6ad0t...@xo.supernews.co.uk...

Laurence Everitt

unread,
Jul 5, 2001, 5:44:22 AM7/5/01
to
For others that might read this:

I do not know why the code worked on my test and not the server
machine, but I used this code to get the SOAP to work:
set oObject = Server.CreateObject("MSSOAP.SoapClient")
oObject.ClientProperty("ServerHTTPRequest") = True
oObject.mssoapinit("http://server/Thing/Thing.wsdl")
I had omitted to insert the ServerHTTPRequest property line after creating
the
MSSOAP.SoapClient object. I will be creating all my SOAP objects in this
way from here on.

Regards,


Laurence


"Laurence Everitt" <Laur...@zy.com> wrote in message

news:tk6fq02...@xo.supernews.co.uk...

0 new messages