axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@wamu.net>
Subject RE: Configure HttpClient used with Axis with custom socket factoryto check for almost-expired SSL certs?
Date Tue, 18 Mar 2008 16:48:57 GMT
Is this possible to do in Axis (not Axis2)?  The only interface I can
see for this that's like settings properties in the Axis2 message
context is the CommonsHTTPClientProperties interface, which only has a
limited defined set of properties it can set. 

> -----Original Message-----
> From: Michele Mazzucco [mailto:Michele.Mazzucco@ncl.ac.uk] 
> Sent: Tuesday, March 18, 2008 9:13 AM
> To: axis-user@ws.apache.org
> Subject: Re: Configure HttpClient used with Axis with custom 
> socket factoryto check for almost-expired SSL certs?
> 
> http://hc.apache.org/httpclient-3.x/sslguide.html
> http://cephas.net/blog/2007/10/02/using-a-custom-socket-factor
y-with-httpclient/
> http://wso2.org/library/1646
> 
> It might be worth reusing the same ServiceClient across 
> different calls.
> To do so set it to the ConfigurationContext -- see 
> AsyncService2Test.java
> 
> HTH,
> Michele
> 
> On Tue, 2008-03-18 at 08:54 -0700, Karr, David wrote:
> > I want to determine whether it's possible to configure the 
> HttpClient 
> > used with Axis with a custom socket factory that can log an 
> event if 
> > the SSL cert sent from a server will be expiring in N days.  I 
> > understand most of the details of the socket factory, but I 
> don't know 
> > if Axis provides the hooks I need to set the socket factory on the 
> > HttpClient instance.  Can someone comment on this?
> > 
> > This is relevant to both the "old" and "new" Axis.
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message