Hi Christian, 

Thanks for the quick response. 

I was thinking about exposing a web service with a single WSDL file
containing all the operations provided by the real services. But I think
your solution could be a better because this way I don't have to create or
maintain the huge WSDL file. 

On the other hand the WS clients won't be able to see the services and
operations provided by the virtual service. But, I think this is something
we can live with... I guess.

I'll try this approach and will let you know.

Thanks,
Angel


Christian Schneider wrote:
> 
> 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
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Web-Services-Virtualization-using-ServiceMix-tp25514386p25523307.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to