Hi Dan,
Thanks for the response. I'll see what I could do from the
MediatorInInterceptor class you mentioned. But for now, I'll stay with
the multiple tags. :)
Thanks!
Gabo
Daniel Kulp wrote:
On Thu August 13 2009 5:10:08 am Gabo Manuel wrote:
Hi Guys,
Just want to check if there is the possibility of having multiple
serviceBean tags under a jaxws:server tag or if there is a way to
configure multiple jaxws:endpoint tags in a single location.
There isn't an "easy" way to do this. I'm not even sure you CAN do this via
straight spring config. You can look at:
https://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/versioning/
to kind of get an idea of what needs to be done.
Basically, you need to enable the multiplexing with the property on the
jaxws:endpoint/jaxws:server tags. That will allow multiple endpoints to use
the same URL. However, you would need to write an interceptor that would
somehow chose the correct endpoint and somehow get that registered on the
MultiplexEndpointObserver. Not sure quite how to do that in the spring
config.
Basically, it's definitely NOT a suggested thing to do.
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.58/2308 - Release Date: 08/16/09 21:46:00