CXF via https - Client can't send message ( simple frontend java configuration ServerFactoryBean/ClientProxyFactoryBean)
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.
Re: CXF via https - Client can't send message ( simple frontend java configuration ServerFactoryBean/ClientProxyFactoryBean)
I don't know if that is supported (or even if it should be for that matter). Being informally defined, the simple front end is not very secure, and wanting to use HTTPS on top of it is somewhat of a contradiction. So if you want to use HTTPS, I think you should learn the JAXWS front end. Like learning Ant and Maven, it is time well spent, and this way you can switch over to Metro or possibly Axis quickly if you come across a bad bug in CXF. (The simple frontend isn't supported anywhere outside of CXF.) Glen Am Dienstag, den 01.04.2008, 16:30 +0100 schrieb Alpin, Luba: 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.
Re: CXF via https - Client can't send message ( simple frontend java configuration ServerFactoryBean/ClientProxyFactoryBean)
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