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 » IBM MQ API Support » MQRFH2 header contents lost

Post new topic  Reply to topic
 MQRFH2 header contents lost « View previous topic :: View next topic » 
Author Message
MasterGD
PostPosted: Thu Feb 21, 2013 7:02 am    Post subject: MQRFH2 header contents lost Reply with quote

Novice

Joined: 21 Feb 2013
Posts: 10

Hi All,

I have teh following situation.my flow contains

SoapInput------->MqOUTput
MqInput -------> SoapReply

Now in order achive this i need to store the SoapIdentifier and pass to the another flow from where SoapReply will send the reply.
Im using MQRFH2 header to store the SoapIdentifier. But In the second flow im getting XMl parser error and Header doent contain anything.. Can any one Plz tell where im doing wrong.
1St flow im using following code
SET OutputRoot.MQRFH2.usr = InputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier;

Then in the Second flow im storing it in teh env
SET Environment.Variacbles.SoapIdentifier = InputRoot..MQRFH2.usr;

parsing against XMlnsc in MQinput. Plz let me know where im doing wrong.

Thanks in Advance.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Feb 21, 2013 7:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Store the ReplyId in one of the Id fields in the MQMD: CorrelId would be my first choice, ApplIdData next, GroupId third.

Using an RFH header to store a ReplyId is very inefficient.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Feb 21, 2013 7:45 am    Post subject: Re: MQRFH2 header contents lost Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

MasterGD wrote:
1St flow im using following code
SET OutputRoot.MQRFH2.usr = InputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier;


How are you creating the MQRFH2 header before storing the id?
Why are not not using something like:
Code:
SET OutputRoot.MQRFH2.usr..ReplyIdentifier = InputLocalEnvironment.Destination.SOAP.Reply.ReplyIdentifier;

What does the message (and RFH2) look like on the queue if you browse it manually after putting it? What version of WMQ is in use as that affects the way the queue manager (and consuming application) handles an RFH2?
How do you know the application which puts the reply on your queue is forwarding the RFH2?

Note also how I've formatted the ESQL in my post. Please do this in future to aid legibility (not a critisism, I know you're new, just saying).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MasterGD
PostPosted: Mon Feb 25, 2013 1:44 am    Post subject: Reply with quote

Novice

Joined: 21 Feb 2013
Posts: 10

Thanks for the reply ill try it..


thanks vitor its worked
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 » IBM MQ API Support » MQRFH2 header contents lost
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.