Groups | Blog | Home
all groups > asp.net webservices > march 2005 >

asp.net webservices : ISA Server blocking web services?


Bruce
3/29/2005 11:17:58 PM

I am attempting to connect to an Amazon web service. When I try to utilize
Amazon's WSDL to create the web reference via vs.net 2003 (in the "add a web
reference" dialog box), I get the following error...

"There was an error downloading
'http://webservices.amazon.com/AWSECommerceService/2005-01-19/AWSECommerceService.wsdl'.
The request failed with HTTP status 403: Forbidden ( The ISA Server denies
the specified Uniform Resource Locator (URL). )."

Apparently, ISA server (which is running on the SBS 2003 server in my office
LAN) is blocking the request. Are there any Microsoft Knowledgebase (or
other) articles that could help me resolve this?

Thanks,
-- Bruce

lukezhan NO[at]SPAM online.microsoft.com
3/30/2005 8:20:08 AM
Hello Bruce,

If you type the link
"http://webservices.amazon.com/AWSECommerceService/2005-01-19/AWSECommerceSe
rvice.wsdl" in IE, what will be the result? Is your proxy setting in IE
correct?

Luke
Bruce
3/31/2005 12:19:05 AM
Luke,
Actually, that link indeed loads fine in IE, showing the XML content of the
WSDL file. Confusing? What do you conclude?
Thanks, Bruce

[quoted text, click to view]

lukezhan NO[at]SPAM online.microsoft.com
4/1/2005 3:10:35 AM
Hi Bruce,

It seems your client or ISA Sever may block VS.NET to access the WSDL file.
I sugest you may try the utility wsdl.exe to generate the proxy class. Here
is the document for wsdl.exe:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/htm
l/cpgrfwebservicesdescriptionlanguagetoolwsdlexe.asp

Hope this help,

Luke
AddThis Social Bookmark Button