Hello,
Imagine, I have an orchestration that accepts XML request, does some processing and returns XML response….
The problem…
I want to use the same orchestration in two places:
1st. My orchestartion receives XML file from FTP, (accepts it as envelope), does processing and places responses as XML file on http://FTP.So it is simple, I use FTP adapter, FTP receive port (with enveloping) and FTP send port.
2nd. My orchesttration receives XML request (no envelopes), does processing and returns XML response. It actually returns XML response, so I use Request-Response port and, for instance, SOAP adapter.
The problem is, that I can’t have single orchestartion for 1st and 2nd cases. Bu I beleive it is possible to redesign and have it as it should be? Can anyone help, and tell how that is possible?