Posted: Wed Aug 13, 2014 3:24 am Post subject: How to modify the Respose received from multiple webservices
Novice
Joined: 07 Jul 2014 Posts: 18
Hi all... I'm working on google web services and I'm able to call these individual services without any problem... but when I'm calling two services (timezone and geocoding services) at a time using a single flow I'm facing the following problem...
using my flow I need to concat both the responses basing on the requirement but the responses are coming individually and saving in mqout node as 2 different messages...
any suggestions to concact these service reponses... please
Thanks in advance....
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
How about the Collector Node?
If you are a beginner at message flow development then I'd be cautious about using it. There are a number of 'gotchas' that can trap the unwary. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
If you are a beginner at message flow development then I'd be cautious about using it. There are a number of 'gotchas' that can trap the unwary.
You shouldn't need the collector node for two synchronous web-service requests.
You just need to construct your message flow properly to allow for calling A, saving the result, and then calling B and adding the result to A before sending an output message.
First of all thanks to you...
I'm also working on the same but I'm unable to save the response individually... my flow starts with input and ends with 2 output messages displaying the responses. can you please suggest me how to save the response....
At present I'm using the following flow..
Mq input --> compute node1 --> http requests(2)--> http header-->compute node 2 --> mq output.
compute node 1 is for overriding the http url.
I have taken two http request to call services individually.
http header to remove headers from the responses.
compute node2 is for concating the responses.
but in compute node2 i'm unable to get the responses to complete my work.
First of all thanks to you...
I'm also working on the same but I'm unable to save the response individually... my flow starts with input and ends with 2 output messages displaying the responses. can you please suggest me how to save the response....
At present I'm using the following flow..
Mq input --> compute node1 --> http requests(2)--> http header-->compute node 2 --> mq output.
compute node 1 is for overriding the http url.
I have taken two http request to call services individually.
http header to remove headers from the responses.
compute node2 is for concating the responses.
but in compute node2 i'm unable to get the responses to complete my work.
Use environment variables to store the response from first service then call the second one...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum