This content has been marked as final.
Show 1 reply
-
1. Re: Mulitple protocols on one impl?
dkulp_dkulp Nov 5, 2007 10:55 AM (in response to inetmug)inetmug wrote:
Hi,
Can I have a single impl instance running in cxf that supports multiple transports at the same time (i.e. soap/http and jms), or do they need to be seperate instances of the service?
This applies to both server mainlines and spring deployments.
Thanks.
Yes. Spring is actually a little bit easier. You can define a bean using a normal
etc...
For mainline, you CAN do it, but it's a bit harder as the annotations have a tendency to "win" and you need to do more coding around it. Instead of calling Endpoint.publish directly, you would need to create a JaxWsServerFactoryBean, make calls on it to configure it, then call sfb.create().start();
Daniel Kulp