Re: soap with proxy

"Gabsaga Tata" <[email protected]> Wed, 28 Sep 2005 18:22:24 +0000
Newsgroups gmane.text.xml.soap.user
Message-ID <W3164018032251411127931744@webmail14>
Certain system properties in the Java runtime will need to be activated.

System.setProperty( "proxySet", "true" );
System.setProperty( "http.proxyHost", "xxx" );
System.setProperty( "http.proxyPort", "xxx" ); 
System.setProperty("http.proxyUser", "xxx");
System.setProperty("http.proxyPassword", "xxx");


> From: Bogdan Mihaila <[email protected]>
> Subject: soap with proxy
> Date: Sat, 24 Sep 2005 09:14:09 GMT
> 
> Hi!
> 
> I'm a newbie in using Apache SOAP, and I have the following scenario:
> 
> I have a SOAP client and a server, and I need the client to connect to the server through a proxy. Without proxy, it > > > works fine. I set the proxy parameters (hostname and port) but I get the following error: 
> Unsupported response content type "text/html", must be: "text/xml". 
> The proxy is running Apache, not Tomcat. 

> Any help would be greatly appreciated.