|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
problem about async web service |
« View previous topic :: View next topic » |
Author |
Message
|
_JiAnG_ |
Posted: Wed Nov 02, 2011 6:13 pm Post subject: problem about async web service |
|
|
Newbie
Joined: 02 Nov 2011 Posts: 8
|
Hi, everybody! i have a problem, can you help me?
now, I have a SOAPAsyncRequest flow, like this:
Flow1: MQInput->Compute->SOAPAsyncRequest
and another SOAPAsyncResponse flow:
Flow2: SOAPAsyncRequest->Compute->MQOutput
Can I deploy these two flows in two diferent execution group?
If can, should I do some specific operations about the Nodes? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 02, 2011 8:18 pm Post subject: Re: problem about async web service |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
_JiAnG_ wrote: |
Hi, everybody! i have a problem, can you help me?
now, I have a SOAPAsyncRequest flow, like this:
Flow1: MQInput->Compute->SOAPAsyncRequest
and another SOAPAsyncResponse flow:
Flow2: SOAPAsyncRequest->Compute->MQOutput
Can I deploy these two flows in two diferent execution group?
If can, should I do some specific operations about the Nodes? |
My guess is, you want to correlate the MQInput and MQOutput with the SOAP Async call in the middle.
Look up the aggregation pattern.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
_JiAnG_ |
Posted: Wed Nov 02, 2011 8:39 pm Post subject: |
|
|
Newbie
Joined: 02 Nov 2011 Posts: 8
|
it will cause Exception of cannot find the response!
so I think it can not be done like this! |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 03, 2011 7:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
_JiAnG_ wrote: |
it will cause Exception of cannot find the response!
so I think it can not be done like this! |
The aggregation pattern is not for the SOAP call, but for correlating the MQInput and MQOutput... as you have the SOAP Async call in the middle...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
paintpot |
Posted: Thu Nov 03, 2011 8:06 am Post subject: Re: problem about async web service |
|
|
Centurion
Joined: 19 Sep 2005 Posts: 112 Location: UK
|
_JiAnG_ wrote: |
Can I deploy these two flows in two diferent execution group?
If can, should I do some specific operations about the Nodes? |
My guess is he wants this question answered - and what he has suggested is a pattern documented in the Toolkit help, without Aggregation.
Note the second flow should start with SOAPAsynchResponse node - the post is wrong.
http://www.mqseries.net/phpBB2/viewtopic.php?t=58799&sid=4904922893b91e5f7be2e8009dc78499
says both flows should be in the same EG.
Note it is much easier to support code that works together, by having it deployed together, imho. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Nov 03, 2011 8:07 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fjb_saper wrote: |
_JiAnG_ wrote: |
it will cause Exception of cannot find the response!
so I think it can not be done like this! |
The aggregation pattern is not for the SOAP call, but for correlating the MQInput and MQOutput... as you have the SOAP Async call in the middle...  |
The Async Call won't necessarily complete.
The asyc request will be sent out by one HTTP engine on one HTTP port, and the response will be expected at a different HTTP engine at a different HTTP port.
There should be clear documentation on whether or not you can gather AsyncResponses in a different ExecutionGroup than the AsyncRequest was made from.
If there is not clear documentation, please open a PMR to get the answer and make sure that the documentation will get updated as well. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|