On Wed, Aug 24, 2005 at 04:14:31PM +0200, Nicolas De Loof wrote:
>
> Hello,
>
> I'd like to set HTTP proxy configuration from an Axis client.
>
> I'm using a static bloc to setup commons-httpclient preferences (I'm
> using PREEMPTIVE_AUTHENTICATION=true)
> <code>
> static
> {
> DefaultHttpParams
> .setHttpParamsFactory(new CustomDefaultHttpParamsFactory());
> }
> </code>
>
> Is they're any comparable property to set the proxy Host/Port to be used ?
>
Nico,
How about that?
HttpClient httpagent = new HttpClient();
httpagent.getHostConfiguration().setProxy("proxy",
8080);
Oleg
> Nico.
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute,
> or use this message or any part thereof. If you receive this message in
> error, please notify the sender immediately and delete all copies of this
> message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]