On Tuesday 01 April 2008, Alpin, Luba wrote:
> I need a help with client side.
> In 'apache-cxf-2.0.5-incubator\samples' directory doesn't exist sample
> of using https with configuration of simple frontend. And existing
> sample I can't do working.
> Please help me with working example.
> Regards,
> Luba.
I'm not sure if it works from configuration. You SHOULD be able to get
it working from API's though.
Client client = ClientProxy.getClient(proxy);
HTTPConduit httpConduit = (HTTPConduit) client.getConduit();
TLSClientParameters tlsParams = new TLSClientParameters();
tlsParams.setSecureSocketProtocol("SSL");
.....set more TLS things.....
httpConduit.setTlsClientParameters(tlsParams);
--
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog