Hi,
I think you can use the features of the camel module for that. You
listen on the http endpoint using a jetty endpoint.
You could then route the request based on a xpath expression to
distinguish the different types of services.
Lastly you would route the reuests to the external services using the
http component.
http://camel.apache.org/jetty.html
http://camel.apache.org/xpath.html
http://camel.apache.org/http.html
The replies will be routed back automatically.
In Gregor Hohpes book Enterprise integration patterns this is called
"Content Based Router" as far as I know.
http://camel.apache.org/content-based-router.html
Greetings
Christian
angel.ortiz schrieb:
Hi guys,
I need to create a service assembly that is able of receiving multiple SOAP
requests and enrouting them to different (external) Web Services using pure
ServiceMix.
I have read in some other sites that this is called "Web Services
Virtualization". This is kind of mixing multiple WSDLs in a single one and
exposing it.
What we need basically is a single endpoint capable of:
1. Receiving different types of SOAP requests (corresponding to different
operations defined in various WSDLs)
2. Enrouting each SOAP requests to the corresponding Web Service
3. Returning the response back to the client.
References:
http://soa-gateway.blogspot.com/2007/08/virtues-of-wsdl-virtualization.html
http://fusesource.com/forums/thread.jspa?threadID=97&tstart=45
Thanks for your help