Hi I need to implement a webservice/http gateway which invokes external system and uses their response before giving ack to the client.
I try to explain better.
1) Client invokes my service
2) I check a flag on the xml
3) If the flag is:
a)"N" i give a reply to the client.
b)"Y" i invoke an external system and i use his response to reply to my client
Is it Possible to implement this behaviour through the esb bus?
Thanks in advice
yes you can - I believe you dont have asynchronous http gateway - so u can either use programmatic dicision to invoke different methods and return response to caller or use contentbasedrouter to invoke different services - e.g. if flag is N serve it by different service (RequestResponse) else B from external system.