ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to modify the Respose received from multiple webservices

Post new topic  Reply to topic
 How to modify the Respose received from multiple webservices « View previous topic :: View next topic » 
Author Message
vdharanikota
PostPosted: Wed Aug 13, 2014 3:24 am    Post subject: How to modify the Respose received from multiple webservices Reply with quote

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....
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Aug 13, 2014 3:39 am    Post subject: Reply with quote

Jedi Council

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.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 13, 2014 5:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
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.


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.
Back to top
View user's profile Send private message
vdharanikota
PostPosted: Wed Aug 13, 2014 5:45 am    Post subject: Reply with quote

Novice

Joined: 07 Jul 2014
Posts: 18

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.
Back to top
View user's profile Send private message
srinivasmmdl
PostPosted: Wed Aug 13, 2014 6:04 am    Post subject: Reply with quote

Novice

Joined: 27 Feb 2013
Posts: 11

vdharanikota wrote:
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...
Back to top
View user's profile Send private message Send e-mail
vdharanikota
PostPosted: Thu Aug 14, 2014 5:28 am    Post subject: Reply with quote

Novice

Joined: 07 Jul 2014
Posts: 18

Thanks to all for your replies...
using environment variables i'm able to store the response now my flow is working very fine...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to modify the Respose received from multiple webservices
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.