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 » Web services flow design question

Post new topic  Reply to topic
 Web services flow design question « View previous topic :: View next topic » 
Author Message
pottas
PostPosted: Mon Apr 21, 2008 5:44 am    Post subject: Web services flow design question Reply with quote

Disciple

Joined: 27 Oct 2005
Posts: 185
Location: South Africa

Guys,
I have the following design question around a Web Services flow within Message Broker. Here's the background:
I have a composite service exposed in Message Broker with a number of operations that needs to be split into separate operations that will invoke the various service endpoints on the back-end.
The responses from the back-end will then be merged into the original request that will be sent back to the consumer.
As per jeff's suggestion, I don't need to use aggregation - very good and well - I totally agree with him:

http://www.mqseries.net/phpBB2/viewtopic.php?t=42560&highlight=

So I resorted to the following flow design:
HTTPInput -->
Compute (splitting the operations into separate services) -->
HTTPRequest Nodes (to call the individual back-end operations and putting the responses into my Environment tree, under WebResponse1, WebResponse2, etc...) -->
Compute (to merge the resulting data into the response that will be sent back to the consumer) -->
HTTPReply Node to build a composite reply back to the consumer.

So here comes my question: Every HTTPRequest I make to the Host must build the output to my Environment tree. So I added a (dummy) Compute Node after each HTTPRequest Node and return a 'false'. Once the last HTTPRequest Node has executed, I build my Response from my Environment tree.

Is this the way to go? Is this a (at least fairly) good design, is there another way of doing it - if so, please share...
Back to top
View user's profile Send private message
AkankshA
PostPosted: Mon Apr 21, 2008 8:38 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

seems good 2 me...


_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Web services flow design question
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.