Hi Marco-

You could implement a very simple solution using Camel running in ServiceMix to 
do that.  Look into the timer, or quartz Camel components to start.  

It would look something like:

<route>
   <from uri="timer..  configure to kick off every 5 mintues" />
   <to uri="http://webservice1:8080/call />
   <to uri="http://webservice2:8080/call2 />
</route>

The response from the webservice1 would be directed as the input to 
webservice2.  As long as the payload is exactly the same, you don't need to do 
anything.  If there are slight changes to the xml, you can insert a XSLT to 
take the response from webservice1 and send it to webservice2 as the input.

Time based invocation:
http://camel.apache.org/timer.html
http://camel.apache.org/quartz.html

Simple web service calls:
http://camel.apache.org/http.html

Advanced web service: 
http://camel.apache.org/cxf.html

XSLT:
http://camel.apache.org/xslt.html

Matt Pavlovich

On Apr 7, 2011, at 7:59 AM, Marco Westermann wrote:

> Hi,
> 
> I try to implement the following process:
> 
> every 5 minutes I want to call a web Service take the answer and call another 
> web service with the return value from the first call.
> using bpel would be nice to do the job (ode?). Is there a tutorial which does 
> similar tasks? I think I have still an understanding problem on how to use 
> serviceMix.
> 
> Thank you for all advice you can give.
> 
> Marco

Reply via email to