Ok, this shows me how to transparently use commons-httpclient under the
covers, but how can I do it programatically, on a particular Axis call?
I need to be able to set the basic and proxy credentials, and use
preemptive authentication. 

> -----Original Message-----
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 16, 2006 8:57 PM
> To: [email protected]
> Subject: Re: How to configure axis to use commons-httpclient 
> underneath, for proxy and basic auth
> 
> http://wiki.apache.org/ws/FrontPage/Axis/AxisCommonsHTTP
> http://wiki.apache.org/ws/FrontPage/Axis
> 
> On 8/16/06, Karr, David <[EMAIL PROTECTED]> wrote:
> > I have a short sequence of code using Axis to send a soap message 
> > through Axis to a provider.  The code looks something like this 
> > (simplified somewhat):
> >
> > -------------
> >     Call.initialize();
> >     Call call = new Call(endpoint);
> >     call.setTimeout(new Integer(timeOut));
> >     call.setRequestMessage(soapToAxis(soapRequest));
> >     call.invoke();
> >     soapResponse = call.getResponseMessage();
> > -------------
> >
> > I've discovered that Axis out of the box has trouble handling the 
> > combination of SSL, proxy auth, and basic auth.  I've been 
> able to get 
> > this interaction to work with commons-httpclient.  I was 
> told there's 
> > a way to configure Axis to use commons-httpclient for its 
> connections, 
> > so I can configure the authorization headers through 
> httpclient.  I've 
> > briefly looked through the Axis documentation, and I didn't 
> see how to 
> > do this.
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web 
> Service Developers)
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to