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 » Aggregation with Soap Input Message

Post new topic  Reply to topic
 Aggregation with Soap Input Message « View previous topic :: View next topic » 
Author Message
pottas
PostPosted: Tue Aug 05, 2008 3:54 am    Post subject: Aggregation with Soap Input Message Reply with quote

Disciple

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

Guys,
I am running WMB 6.1

I have the following scenario:
Flow1: Soap Input --> AggregateControl --> 3 aggregation legs, each with Compute, MQOutput (remote queue), AggregateRequest
Flow2: MQInput --> AggregateReply --> Compute --> SoapReply

Because I convert the Soap request to three Cobol Copybooks, I do the following ESQL to add an MQMD:

Code:
      -- Output is MQ, so remove HTTP headers
      SET OutputRoot.HTTPInputHeader = null;

      -- Add an MQMD
      CREATE NEXTSIBLING OF OutputRoot.Properties DOMAIN 'MQMD';
      SET OutputRoot.MQMD.Transactional = 'True';
      SET OutputRoot.MQMD.Encoding = 546;
      SET OutputRoot.MQMD.CodedCharSetId = 437;
      SET OutputRoot.MQMD.Expiry = -1;
      SET OutputRoot.MQMD.Format = 'MQSTR';


When I send the Request, I get the following error on my reply:
Quote:
invalid replyId on reply message


I understand that I need to set some MessageIdentifier or something of the like, but I am not sure exactly what I need to do.

I did get a post on mqseries with something similar, but it doesn't seem like it got to a solution:

http://www.mqseries.net/phpBB2/viewtopic.php?t=38295&highlight=aggregation+replyid

Your assistance is greatly appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 05, 2008 7:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Before the message goes to the MQOutput node:
Make sure the MQMD node is set to default and does not generate nor pass the correlID
After the MQOutput node put the aggregate request node.

So you would have like a hand

aggregation node ---- multiple MQOutput --- one aggreg request per MQOutput node

On the fan in:
MQ Input node, aggregation fan in node, compute node, MQReply node...

And have a look at the sample aggregation setup.!

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pottas
PostPosted: Tue Aug 05, 2008 9:41 pm    Post subject: Reply with quote

Disciple

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

Thanks for the reply, fjb_saper.
I checked my MqOutput Node and I have the following settings on the 'Advanced' Tab:
New MsgId - not checked
New CorrelId - not checked

Maybe a good time to mention, in my Fan-out flow, the MQOutput Queue is a remote queue definition that points to Host.
My Fan-in flow starts off with the associated Local queue which is again a remote definition from Host.

fjb_saper, thanks for pointing me to the aggregation sample - I did base my flow design on it, but the sample is not exactly what I need (no sample will ever be) - it simulates the back-end and it doesn't work with remote queues. I don't know if this would make a difference. If it is the case, then please excuse my ignorance.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 06, 2008 7:42 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

pottas wrote:
Thanks for the reply, fjb_saper.
I checked my MqOutput Node and I have the following settings on the 'Advanced' Tab:
New MsgId - not checked
New CorrelId - not checked

Maybe a good time to mention, in my Fan-out flow, the MQOutput Queue is a remote queue definition that points to Host.
My Fan-in flow starts off with the associated Local queue which is again a remote definition from Host.

fjb_saper, thanks for pointing me to the aggregation sample - I did base my flow design on it, but the sample is not exactly what I need (no sample will ever be) - it simulates the back-end and it doesn't work with remote queues. I don't know if this would make a difference. If it is the case, then please excuse my ignorance.


You need to check new MsgId. Each message needs to have it's own id so that the fan in can identify it correctly by the correlID.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Aggregation with Soap Input Message
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.