Re: [Axis2] Http Basic Authentication

2006-06-08 Thread Xinjun Chen
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

Re: [Axis2] Http Basic Authentication

2006-05-12 Thread Davanum Srinivas
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

Re: [Axis2] Http Basic Authentication

2006-05-12 Thread Saminda Abeyruwan
-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: /

Re: [Axis2] Http Basic Authentication

2006-05-11 Thread Saminda Abeyruwan
-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.

Re: [Axis2] Http Basic Authentication

2006-05-08 Thread Lothar Nieswandt
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

Re: [Axis2] Http Basic Authentication

2006-05-08 Thread Saminda Abeyruwan
-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 >

[Axis2] Http Basic Authentication

2006-05-08 Thread Lothar Nieswandt
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_