Hi , I don't think you need to add the elements of <http-conf:authorization/> <http-conf:proxyAuthorization/> <http-conf:client/> in your httpconduit configuration.
For the second question, CXF Endpoint's HttpConduit instance will be configured with the endpoint Qname + "conduit" postfix. You can find that the HttpConduit implements the Configurable interface. BTW, I don't see any @Resource annotation in the HttpConduit source code. Willem boriss wrote: > Hi Wiliam, > > thanks for your reply. Yes, I did take a look at this example before, but > still couldn’t figure out how to do it :-(. Finally, yesterday I’ve looked a > bit through the source code and here is the practical solution for those who > don’t want to spend the half day trying like I did =^D: > > <cxf:cxfEndpoint id="serviceEndpoint" > address="https://localhost:443/SoapContext/SoapPort" > serviceClass="org.apache.hello_world_soap_http.Greeter" > endpointName="s:SoapPort" > xmlns:s="http://apache.org/hello_world_soap_http" /> > > > <http-conf:conduit name="{ > http://apache.org/hello_world_soap_http}SoapPort.http-conduit"> > <http-conf:tlsClientParameters secureSocketProtocol="SSL"> > <sec:keyManagers keyPassword="changeit"> > <sec:keyStore type="JKS" password="changeit" > resource="conf/cert/keystore.jks"/> > </sec:keyManagers> > <sec:trustManagers> > <sec:keyStore type="JKS" password="changeit" > resource="conf/cert/truststore.jks"/> > </sec:trustManagers> > <sec:cipherSuitesFilter> > <sec:include>.*.*</sec:include> > </sec:cipherSuitesFilter> > </http-conf:tlsClientParameters> > <http-conf:authorization/> > <http-conf:proxyAuthorization/> > <http-conf:trustDecider class="foo.MessageTrustDecider"/> > <http-conf:client/> > <http-conf:basicAuthSupplier class="foo.AuthSupplier"/> > </http-conf:conduit> > > So, the solution is ugly because the HTTPConduit (cxf 2.1.1) has the couple > of @Resource annotations inside which could/should be removed; don’t you > think?!; which makes the “conduit” element unnecessary large. Actually I > needed only to define the <keyManagers> element . > > Another thing to look for is inside of the <cxfEndpoint> definition, and > that is the attribute “elementName” -> it has to correlate to the “name” > attribute of the <conduit> Element. > > So, hope that helps… :drunk: > > Cheers, > Boris > > > > William Tam wrote: >> You may want to take a look at the https sample in CXF. >> >> http://svn.apache.org/repos/asf/cxf/trunk/distribution/src/main/release/samples/wsdl_first_https/ >> >> Then, try to put your cxf endpoint configuration into the camel cxf >> endpoint. Hope that helps. >> >> - William >> >> On Wed, Nov 5, 2008 at 5:37 AM, boriss <[EMAIL PROTECTED]> wrote: >> >
