You need to do something similar to this

import org.apache.soap.transport.http.SOAPHTTPConnection;
:
:
SOAPHTTPConnection httpConn = null;
:
:
:
:
httpConn = new SOAPHTTPConnection();
if ( !mstrProxyServer.equalsIgnoreCase("") )
{
	if ( mintProxyPort != 0 )
	{
		httpConn.setProxyPort(mintProxyPort);
	}
	httpConn.setProxyHost(mstrProxyServer);
}



then when you use your call object before calling your soap method

c.setSOAPTransport(httpConn);
( where  c is the Call object)


Hope this helps.

Jonathan









From: "Joe Ryan" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: Issues with the HTTP implementation provided with Apache SOAP.
Date: Fri, 1 Nov 2002 14:02:24 -0000

I am curious about the HTTP implementation provided with Apache SOAP, as I
need to go through a proxy server.

Browsing the net I saw an article which pointed out the following isssues
with the HTTP implementation provided with Apache SOAP V2.0

- No Proxy/Socks support.
(If you need to use a http proxy or socks server to reach the server then it
won't work. Assumption is client can directly open a socket to the server.)

- HTTP Security support missing.
- HTTP/SSL support with certificate based authentication is missing (only
support standard HTTP, no SSL)
- No cookie support.
- It opens a new socket for every RPC.


Can somebody let me know if SOAP 2.2 or 2.3 has Proxy/Socks support? This is
the main concern I have. If not then presumably I must implement my own Http
Transport class?

thanks, Joe.



--
To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org>

_________________________________________________________________
Unlimited Internet access for only $21.95/month.  Try MSN! http://resourcecenter.msn.com/access/plans/2monthsfree.asp


--
To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org>

Reply via email to