camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Yoshida <elak...@gmail.com>
Subject Re: single CXF endpoint to accept SOAP message for different namespace versions
Date Fri, 30 Jan 2015 13:23:30 GMT
If you want to accept any requests and do any checking and routing in
Camel, you can just configure your camel-cxf endpoint as a generic
provider endpoint of PAYLOAD type. That means with leaving the wsdl
and serviceClass properties unset.


2015-01-28 16:20 GMT+01:00 ashwin74268 <sha.ash16@gmail.com>:
> 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