On Thursday, August 18, 2011 11:44:51 PM GerryChenStarNet wrote:
> Hi Everyone!
> 
> I write tow Endpoints in Server side. I want to bind this tow Endpoints to a
> service URL.
> But it prompt me " java.lang.RuntimeException: Soap 1.1 endpoint already
> registered on address".
> 
> So I have found some post in this mail list. I find only post in 2008.
> The post is
> "http://cxf.547215.n5.nabble.com/How-to-publish-multiport-service-td561214.h
> tml"
> 
> If I do that like that post , I think it is too difficult and  inconvenient.
> Do CXF Framework have some Spring configurations to set this function now?
> Thanks!

Not really, no.   For the most part its a 1:1 URL:endpoint matching.   You can 
try adding an endpoint property of:

"allow-multiplex-endpoint" "true"

but I think you then need to implement a AbstractEndpointSelectionInterceptor 
to select the appropriate endpoint at runtime.   I'm not really 100% sure 
though as it's not one of "normal" usecases so I'm not sure if anyone has 
really tried it.


-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to