I think you need to add an init-param in the web.xml that tells the CXF servlet
the bus name.
<servlet>
<init-param>
<param-name>bus</param-name>
<param-value>server</param-value>
</init-param>
-----Original Message-----
From: Andrei Shakirin [mailto:[email protected]]
Sent: Monday, June 30, 2014 5:06 AM
To: [email protected]
Subject: RE: cxf:bus with jaxws:endpoint
Hi,
I haven't tried it myself, but find multiple bus configuration for jax-rs
service system tests:
https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=systests/jaxrs/src/test/resources/jaxrs_jackson_provider/WEB-INF/beans.xml;h=d2aecd2ce74d79e6155b14aa411c855a33e04f15;hb=HEAD
Likely this will work in the same way for jax-ws.
Regards,
Andrei.
> -----Original Message-----
> From: zsolt.szloboda [mailto:[email protected]]
> Sent: Samstag, 28. Juni 2014 15:35
> To: [email protected]
> Subject: RE: cxf:bus with jaxws:endpoint
>
> yes, if I don give a name to the bus
> (or I name it "cxf", which is the default name), plus I include
> <import resource="classpath:META-INF/cxf/cxf.xml" /> into my spring
> config then it works
>
> it seems that I can not define different buses for the different
> endpoints because the CXFServlet picks up a single bus (which is the
> 'cxf' bus, by default)
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-bus-with-
> jaxws-endpoint-tp5745696p5745731.html
> Sent from the cxf-user mailing list archive at Nabble.com.