Web Service, HTTPS and ISA

1 view
Skip to first unread message

Fred

unread,
Jul 2, 2009, 9:16:49 AM7/2/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi All,

I have a web service on 2 load balanced servers I call via HTTPS
(https://mydomain.com/MyService/MyService.asmx). The call is routed
through an ISA server and the ISA server passes it on to our internal
servers via HTTP. The trouble is that when I look in at the WSDL the
I see that the address location is http:

- <wsdl:service name="MyService">
- <wsdl:port name="MyServiceSoap" binding="tns:MyServiceSoap">
<soap:address location="http://mydomain.com/MyService/
MyService.asmx" />
</wsdl:port>
- <wsdl:port name="MyServiceSoapHttpGet"
binding="tns:MyServiceSoapHttpGet">
<http:address location="http://mydomain.com/MyService/
MyService.asmx" />
</wsdl:port>
- <wsdl:port name="MyServiceSoapHttpPost"
binding="tns:MyServiceSoapHttpPost">
<http:address location="http://mydomain.com/MyService/
MyService.asmx" />
</wsdl:port>
</wsdl:service>

So if I load the service in a browser window and then invoke one of
the methods within the webservice I get an error because HTTP is
forbidden.

Error Code: 403 Forbidden. The server denied the specified Uniform
Resource Locator (URL). Contact the server administrator. (12202)

I am guessing there is some way to manually set the address location
so the return is also through https?

I may not have explained this particually well but any help would be
appreciated.

thanks

Fred

The_Fruitman

unread,
Jul 3, 2009, 12:19:53 PM7/3/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Reply all
Reply to author
Forward
0 new messages