camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashwin74268 <sha.as...@gmail.com>
Subject single CXF endpoint to accept SOAP message for different namespace versions
Date Wed, 28 Jan 2015 15:20:42 GMT
Hi All,
As of now, we have three different webservice endpoint for each type of
Schema Version i.e  has different namespaces. 
We are using camel-cxf 2.8.0.
e.g 
1) Schema with Namespace http://www.example.org/archive/schema/REL-5-1-2 has
cxf endpoint cxf://http://hostname.com:1111/soap/greet
2) Schema with Namespace http://www.example.org/archive/schema/REL-6-1-0
cxf://http://hostname.com:2222/soap/greet
3) Schema with Namespace http://www.example.org/archive/schema/REL-6-1-4
cxf://http://hostname.com:3333/soap/greet

each routes of cxf endpoint are configured in this way:-
e.g:- 
"cxf://http://hostname.com:<port>/soap/greet?serviceClass=org.example.schemas.rel610.GreetServicePortType&bus=#cxf";

Now,  We have to expose only single webservice endpoint that can accept
request for all these schemas and should do internal routing based on the
namespace.
I tied to find articles that may have suggested similar implementations but
could see anything like this.

Can anyone suggest me if there is way I can expose a single endpoint for
this scenario?
Any suggestion would be helpful.

Thanks,
ashwin74268



--
View this message in context: http://camel.465427.n5.nabble.com/single-CXF-endpoint-to-accept-SOAP-message-for-different-namespace-versions-tp5762186.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message