Hello all, I got a little further with my configuration and think I got it working. I looked at the camel-example-cxf-osgi and it looks like all you really have to do is remove the standalone jetty HTTP(s) listener and then provide your address as a relative path in your Camel CXF bean. Just remove the protocol and host.
Here are a few observations. It seems like you need to have a Jetty bean set up to perform unit tests or have a ServiceMix instance running with the jetty port running. The jetty bean looks like: <httpj:engine-factory id="httpsSettings" bus="cxf"> <httpj:engine port="8888"> <httpj:tlsServerParameters> <sec:keyManagers keyPassword="password"> <sec:keyStore type="jks" password="password" file="keystore.jks" /> </sec:keyManagers> <sec:cipherSuitesFilter> <sec:include>TLS_DHE_RSA_WITH_AES_128_CBC_SHA</sec:include> <sec:include>SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA</sec:include> <sec:include>TLS_RSA_WITH_AES_128_CBC_SHA</sec:include> <sec:include>SSL_RSA_WITH_3DES_EDE_CBC_SHA</sec:include> </sec:cipherSuitesFilter> <sec:clientAuthentication want="false" required="false" /> </httpj:tlsServerParameters> </httpj:engine> </httpj:engine-factory> You can include this jetty bean under src/test/resources as your build process allows. It also appears as if all urls require 'cxf' in the path. For the camel example, the URL is: http://localhost:8181/cxf/camel-example-cxf-osgi/webservices/incident?wsdl There is a reference in the documentation to editing this so you can set your own property: Changing /cxf servlet alias --------------------------- By default CXF Servlet is assigned a '/cxf' alias. You can change it in a couple of ways a. Add org.apache.cxf.osgi.cfg to the /etc directory and set the 'org.apache.cxf.servlet.context' property, for example: org.apache.cxf.servlet.context=/custom b. Use shell config commands, for example : config:edit org.apache.cxf.osgi config:propset org.apache.cxf.servlet.context /super config:update To remove 'http' and only provide a secure port, comment out this line: #org.osgi.service.http.port=8181 Hopefully this is helpful to someone who visits this thread later. Thanks! Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-multiple-CXF-services-using-the-same-https-port-tp3379301p5762271.html Sent from the Camel - Users mailing list archive at Nabble.com.