camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Can CXF runs on other web container instead of JETTY
Date Tue, 06 Dec 2011 12:25:44 GMT
You may need to setup the CXFServlet like this[1]

[1]http://cxf.apache.org/docs/servlet-transport.html

On Tue Dec  6 20:11:42 2011, Freeman Fang wrote:
> 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:ffang@fusesource.com
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
>
>
>
>
>
>
>
>
>
>



-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang 
Weibo: willemjiang 


Mime
View raw message