Hi, You can take a look at the CXF example[1], and apply the configuration of http-conduit configure on the camel configuration file.
[1]http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport%28includingSSLsupport%29-ConfiguringSSLSupport -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Thursday, August 22, 2013 at 3:02 PM, contactreji wrote: > Hi all > Hope you all having good time riding the camel! :-p > > Well, I am kinda working upon security part in web service. > > - I have a webservice exposing a port address enabled with HTTPS. > - They have given me the keystore along with all relevant passwords. > > Now I need to call the webservice with https transport. > Could you help me in understanding how do I make a call using cxf component. > > > My code looks like > > <cxf:cxfEndpoint id="abc_zyz" > address="http://16.143.96.184:8181/blah/blah/blah" > serviceClass="xyz.ab.asdf.id52.qwerty.AXQMaterialConsumptionAsyncOut" > wsdlURL="wsdl/abc.wsdl" serviceName="p1:Service_ID52" > endpointName="p1:HTTP_Port" xmlns:p1="urn:somecompany:pi:asd:id52:QWSD" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /> > > Please note that I want to call endpointName="p1:HTTPS_Port" in place of > endpointName="p1:HTTP_Port" > The endpointName="p1:HTTPS_Port" has been defined in the the WSDL > > If someone could post a piece of code illustrating the above task , it would > really make my day!!!!! > > Cheers > Reji > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Using-SSL-Certificates-and-connecting-to-https-port-Truststore-files-provided-tp5737735.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).