Hi Saminda,
I am trying to set proxy for an Axis2 client. The code snippet is as follows:
HttpTransportProperties htp = new HttpTransportProperties(); httpProxyProperties = htp.new ProxyProperties();
httpProxyProperties.setProxyName(httpProxyHost); httpProxyProperties.setProxyPort(I
If you need a way to do this in Axis2 1.0 release, please see
http://www.wso2.net/2006/05/reuse_share_http_connections
It shows you how to set up a MultiThreadedHttpConnectionManager, you
can set one up with basic preemptive just like in saminda's patch.
thanks,
dims
On 5/11/06, Saminda Abeyruw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Lothar,
Thank you for bringing "Http Basic Authentication" to Axis2's attention.
We've added Preemptive Basic Authentication schema to Axis2 codebase via
HttpClient.
For ex:
/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Saminda Abeyruwan wrote:
> Lothar Nieswandt wrote:
>
>>>Hello all,
>>>
>>>I am trying to write a *simple* web service client with axis2. The server
>>>side requires http basic authentication. I can't find out how this is done
>>>*easily* with axis2.
authorisation header like
Authorization: Basic SOME_HEX_CODE
Thank you again.
Lothar
> --- Ursprüngliche Nachricht ---
> Von: Saminda Abeyruwan <[EMAIL PROTECTED]>
> An: axis-user@ws.apache.org
> Betreff: Re: [Axis2] Http Basic Authentication
> Datum: Mon, 08 May 2006 17:06:00 +060
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lothar Nieswandt wrote:
> Hello all,
>
> I am trying to write a *simple* web service client with axis2. The server
> side requires http basic authentication. I can't find out how this is done
> *easily* with axis2. Somebody on the list advised to do
>
Hello all,
I am trying to write a *simple* web service client with axis2. The server
side requires http basic authentication. I can't find out how this is done
*easily* with axis2. Somebody on the list advised to do
call.setProperty(Call.USERNAME_PROPERTY, "user");
call.setProperty(Call.PASSWORD_