camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siano, Stephan" <stephan.si...@sap.com>
Subject RE: Camel CXF HTTPS
Date Thu, 25 Oct 2012 05:31:26 GMT
Hi,

Well, the reason for this is the following. CXF registers a servlet with PAX-Web with the
/cxf path in the url. Your Sprint or blueprint configuration registers your service with /example
with CXF, so you can reach your service at /cxf/example.

There is a way to configure the URL where the CXF servlet to something else, but then your
URL would be https:localhost:443/somethingelse/example, so I don't know whether this would
help you. You should be able to do that by setting the config admin property org.apache.cxf.servlet.context
for the pid org.apache.cxf.osgi to something else. (Create or edit a file <KARAF.HOME>/etc/org.apache.cxf.osgi.cfg
with the content org.apache.cxf.servlet.context=/somthingelse)

Best regards
Stephan


-----Original Message-----
From: rxm0203 [mailto:rah_mehta@yahoo.com] 
Sent: Donnerstag, 25. Oktober 2012 06:01
To: users@camel.apache.org
Subject: Re: Camel CXF HTTPS

Hi Willem,

I was able to access RESTful web service with the address
https://localhost:443/cxf/example. It works with external URL also. Is it
possible to achieve similar results without /cxf in URL?  

Thanks,



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-HTTPS-tp5721517p5721530.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message