I have a requirement where I need to expose a web service which will in turn search for some data from two different system (e.g. System A and System B) by calling specific web services exposed by System A and System B.
The data could be found in either or both of the system and I need to aggregate the data and return back to the main web service call.
This complete processing needs to be executed in a synchronous way.
To minimise the overall time taken by my main web service I want to execute the System A and System B web service parallelly in the main web service and once the response is back from both the system aggregate it and return it back.
Not sure, what is the best approach to achieve this, your suggesting will be of great help.