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.

Reply via email to