G
Greg
Hi all,
When I call web service via a proxy I get a Web exception saying this:
<HTML><HEAD><TITLE>Found</TITLE></HEAD><BODY><H1>Found</H1>
This document has moved to a new location:
http://MappedServer/VirtualFolder/SomeWebService.asmx
Please update your documents and hotlists accordingly.</BODY></HTML>
the code I'm using is this:
myWebService ws= new myWebService();
ws.Url = "http://MappedServer/VirtualFolder/SomeWebService.asmx";
ws.Proxy = new WebProxy("proxyServer", 8081);
ws.Method1();
In the proxyServer machine I have a URL mapping that translates
http://MappedServer to http://WebServiceServer .
If I do a similar test with Internet Explorer it works fine. For example if
I put the proxy settings into IE and ask for the WSDL (type into the address
bar http://MappedServer/VirtualFolder/SomeWebService.asmx?WSDL) it works
fine.
Any ideas please?
Thanks in advanced,
Greg.
When I call web service via a proxy I get a Web exception saying this:
<HTML><HEAD><TITLE>Found</TITLE></HEAD><BODY><H1>Found</H1>
This document has moved to a new location:
http://MappedServer/VirtualFolder/SomeWebService.asmx
Please update your documents and hotlists accordingly.</BODY></HTML>
the code I'm using is this:
myWebService ws= new myWebService();
ws.Url = "http://MappedServer/VirtualFolder/SomeWebService.asmx";
ws.Proxy = new WebProxy("proxyServer", 8081);
ws.Method1();
In the proxyServer machine I have a URL mapping that translates
http://MappedServer to http://WebServiceServer .
If I do a similar test with Internet Explorer it works fine. For example if
I put the proxy settings into IE and ask for the WSDL (type into the address
bar http://MappedServer/VirtualFolder/SomeWebService.asmx?WSDL) it works
fine.
Any ideas please?
Thanks in advanced,
Greg.