Hi yogen;
I think this has nothing to do with SAAJ. It is just a matter of making you java application (which accesses network resources) to be able to communicate via network. i.e. by setting

System.setProperty( "https.proxyHost", <host>);
System.setProperty( "https.proxyPort", <port>);

in your client.And there is another way to set this from command options to java command, which brings the same result.

The call method in SOAPConnection has the following signature.
public SOAPMessage call(SOAPMessage request, Object endpoint) throws SOAPException
-
Here the endpoint can be any of java.lang.String,java.net.URL, javax.xml.messaging.URLEndpoint.

Thanks
/sumedha



Yadav, Yogendra (IT) wrote:
Hi,
Sun's SAAJ implementation reads proxy settings from system properties.
System.setProperty( "https.proxyHost", <host>);
System.setProperty( "https.proxyPort", <port>);
I want to use proxy using SAAJ APIs provided by AXIS2. In AXIS2's implementation SOAPConnectionImpl.java the Options object is created new. The call() method does not provide an ability to set proxy. Anybody knows how to do proxy settings while using SAAJ APIs in AXIS2 ? Appreciate it.
[thanx
-yogen
------------------------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to