Yeah, to deploy into other web container like WebSphere need use servlet transport, the address="..." in your configuration can do the trick.
use
address="/your_webservice_context" //this will pick up servlet transport which publish webservice on your webcontainer default listening port
but not
address="http:/..." // this will use http transport which publish webservice on the address you specified here.

Freeman

On 2011-12-6, at 下午6:47, williamc1983 wrote:

when I define a camel-cxf endpoint, it automatically host the service using
Jetty. May I know the way to host the webservice using the current
application server, for example WebSphere.

        <camel-cxf:cxfEndpoint id="cbigEndpoint"
        
address="${cbigserver.protocol}://${cbigserver.address}:$ {cbigserver.port}/${cbigserver.context}"
                serviceClass="com.thetasp.cbig.ws.CbigService">
                ...
        </camel-cxf:cxfEndpoint>'

Thanks in advance.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Can-CXF-runs-on-other-web-container-instead-of-JETTY-tp5051688p5051688.html
Sent from the Camel - Users mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:ff...@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to