[Users] Communication between services

Vincent Zurczak [via Petals ESB] ml-node+2754168-1094090757-385891 at n3.nabble.com
Wed Mar 30 17:45:17 CEST 2011



Hi,

Your service cannot directly invoke a service.
Here is what you want to do:

myNewService( message1 ) {
    message2 = invokeService1( message1 );
    message3 = invokeService2( message2 );
    return message3;
}

Service1 and Service2 are your two services, imported in Petals through the
SOAP BC.
You can implement myNewService with EIP, as an example.
The routing slip should work if message1 matches the input of Service2.
If not, you should use the XSLT parameter, transform message1 to match what
Service2 expects and then send it. Routing-slip is suitable for this case
too, except you will consume 3 services instead of 2.

_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/Communication-between-services-tp2725605p2754168.html
To start a new topic under Users (get help, provide help), email ml-node+2681628-1333396262-385891 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110330/ebd50a14/attachment.htm>


More information about the Users mailing list