HighTechTalks DotNet Forums  

WSDLReader:Loading of the WSDL file failed

ASP.net Web Services microsoft.public.dotnet.framework.aspnet.webservices


Discuss WSDLReader:Loading of the WSDL file failed in the ASP.net Web Services forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
william
 
Posts: n/a

Default WSDLReader:Loading of the WSDL file failed - 12-11-2007 , 02:58 PM






Hi all,

I have a .NET web service which is consumed by both .NET code and VB6 code.
There is no issue to concume it from .NET, but error out in VB6. I use SOAP
1.0 in vb6, here is sample code:
Set oClient = CreateObject("MSSOAP.SoapClient")
oClient.MSSoapInit "http://servername/virtual
directory/MyService.asmx?wsdl"
At MSSoapInit, I got error as "Error -2147024809 (WSDLReader:Loading of the
WSDL file failed HRESULT=0X8007057 -WSDLReader:XML Parser failed at
linenumber 0, lineposition 0, reason is: Access is denied.
HRESULT=0X80070005)".

Could any one help me out?

Thanks.

Reply With Quote
  #2  
Old   
Tiago Halm
 
Posts: n/a

Default Re: WSDLReader:Loading of the WSDL file failed - 12-11-2007 , 06:55 PM






Use filemon.exe utility from Microsoft (formerly SysInternals) to see where
the access is denied.

Tiago Halm

"william" <william (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi all,

I have a .NET web service which is consumed by both .NET code and VB6
code.
There is no issue to concume it from .NET, but error out in VB6. I use
SOAP
1.0 in vb6, here is sample code:
Set oClient = CreateObject("MSSOAP.SoapClient")
oClient.MSSoapInit "http://servername/virtual
directory/MyService.asmx?wsdl"
At MSSoapInit, I got error as "Error -2147024809 (WSDLReader:Loading of
the
WSDL file failed HRESULT=0X8007057 -WSDLReader:XML Parser failed at
linenumber 0, lineposition 0, reason is: Access is denied.
HRESULT=0X80070005)".

Could any one help me out?

Thanks.



Reply With Quote
  #3  
Old   
william
 
Posts: n/a

Default Re: WSDLReader:Loading of the WSDL file failed - 12-12-2007 , 10:58 AM



Hi Tiago,

As I mentioned, it failed at soap initialization.
By the way, IIS security setting is Integrated Windows Authentication mode,
and the anonymous access is turned off. If I turn on anonymous, it's ok. So
looks like somehow the current user's credential is not carried over. I'm
guessing, don't really know.

Thanks.

"Tiago Halm" wrote:

Quote:
Use filemon.exe utility from Microsoft (formerly SysInternals) to see where
the access is denied.

Tiago Halm

"william" <william (AT) discussions (DOT) microsoft.com> wrote in message
news:97CB90E5-9F7B-4931-8B74-80C5174FFE05 (AT) microsoft (DOT) com...
Hi all,

I have a .NET web service which is consumed by both .NET code and VB6
code.
There is no issue to concume it from .NET, but error out in VB6. I use
SOAP
1.0 in vb6, here is sample code:
Set oClient = CreateObject("MSSOAP.SoapClient")
oClient.MSSoapInit "http://servername/virtual
directory/MyService.asmx?wsdl"
At MSSoapInit, I got error as "Error -2147024809 (WSDLReader:Loading of
the
WSDL file failed HRESULT=0X8007057 -WSDLReader:XML Parser failed at
linenumber 0, lineposition 0, reason is: Access is denied.
HRESULT=0X80070005)".

Could any one help me out?

Thanks.




Reply With Quote
  #4  
Old   
Tiago Halm
 
Posts: n/a

Default Re: WSDLReader:Loading of the WSDL file failed - 12-12-2007 , 07:52 PM



The anonymous account has access, the authenticated account does not it
appears. Are you impersonating? If you are, the Authenticated account does
not have access, if not its the AppPool account that does not have access.
Anyway I'm just guessing.

Where is the VB6 code hosted? Executable or COM object?
How is the WebService done (WCF, ASMX)?

Tiago Halm

"william" <william (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi Tiago,

As I mentioned, it failed at soap initialization.
By the way, IIS security setting is Integrated Windows Authentication
mode,
and the anonymous access is turned off. If I turn on anonymous, it's ok.
So
looks like somehow the current user's credential is not carried over. I'm
guessing, don't really know.

Thanks.

"Tiago Halm" wrote:

Use filemon.exe utility from Microsoft (formerly SysInternals) to see
where
the access is denied.

Tiago Halm

"william" <william (AT) discussions (DOT) microsoft.com> wrote in message
news:97CB90E5-9F7B-4931-8B74-80C5174FFE05 (AT) microsoft (DOT) com...
Hi all,

I have a .NET web service which is consumed by both .NET code and VB6
code.
There is no issue to concume it from .NET, but error out in VB6. I use
SOAP
1.0 in vb6, here is sample code:
Set oClient = CreateObject("MSSOAP.SoapClient")
oClient.MSSoapInit "http://servername/virtual
directory/MyService.asmx?wsdl"
At MSSoapInit, I got error as "Error -2147024809 (WSDLReader:Loading of
the
WSDL file failed HRESULT=0X8007057 -WSDLReader:XML Parser failed at
linenumber 0, lineposition 0, reason is: Access is denied.
HRESULT=0X80070005)".

Could any one help me out?

Thanks.






Reply With Quote
  #5  
Old   
william
 
Posts: n/a

Default Re: WSDLReader:Loading of the WSDL file failed - 12-13-2007 , 09:27 AM



VB6 is executable, and web service is asmx. No impersonation.
I think it's not the account issue, because I can use same account access
web service from .NET. I guess somehow the account is not carried over to IIS.
Thanks.

"Tiago Halm" wrote:

Quote:
The anonymous account has access, the authenticated account does not it
appears. Are you impersonating? If you are, the Authenticated account does
not have access, if not its the AppPool account that does not have access.
Anyway I'm just guessing.

Where is the VB6 code hosted? Executable or COM object?
How is the WebService done (WCF, ASMX)?

Tiago Halm

"william" <william (AT) discussions (DOT) microsoft.com> wrote in message
news:A0D50BB6-8975-4350-921F-77635FB605F0 (AT) microsoft (DOT) com...
Hi Tiago,

As I mentioned, it failed at soap initialization.
By the way, IIS security setting is Integrated Windows Authentication
mode,
and the anonymous access is turned off. If I turn on anonymous, it's ok.
So
looks like somehow the current user's credential is not carried over. I'm
guessing, don't really know.

Thanks.

"Tiago Halm" wrote:

Use filemon.exe utility from Microsoft (formerly SysInternals) to see
where
the access is denied.

Tiago Halm

"william" <william (AT) discussions (DOT) microsoft.com> wrote in message
news:97CB90E5-9F7B-4931-8B74-80C5174FFE05 (AT) microsoft (DOT) com...
Hi all,

I have a .NET web service which is consumed by both .NET code and VB6
code.
There is no issue to concume it from .NET, but error out in VB6. I use
SOAP
1.0 in vb6, here is sample code:
Set oClient = CreateObject("MSSOAP.SoapClient")
oClient.MSSoapInit "http://servername/virtual
directory/MyService.asmx?wsdl"
At MSSoapInit, I got error as "Error -2147024809 (WSDLReader:Loading of
the
WSDL file failed HRESULT=0X8007057 -WSDLReader:XML Parser failed at
linenumber 0, lineposition 0, reason is: Access is denied.
HRESULT=0X80070005)".

Could any one help me out?

Thanks.







Reply With Quote
  #6  
Old   
tiago.halm@gmail.com
 
Posts: n/a

Default Re: WSDLReader:Loading of the WSDL file failed - 12-13-2007 , 01:41 PM



Check if the COM object "MSSOAP.SoapClient" has properties or methods
with the name "credentials" or similar. Such a property/method would
allow the COM client (VB6) to authenticate itself over HTTP upon
invoking the WebService. Other than that, I can't help, sorry.

Tiago Halm

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.