This article may help you:

http://codebetter.com/blogs/steve.hebert/archive/2007/11/13/manually-mapping-wsdl-soap-address-location-on-the-fly.aspx


On Jul 2, 7:16 am, Fred <[email protected]> wrote:
> 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

Reply via email to