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 DataPower » will MQHRF2 fromat cause any issue in Datapower

Post new topic  Reply to topic
 will MQHRF2 fromat cause any issue in Datapower « View previous topic :: View next topic » 
Author Message
v_nanduri
PostPosted: Sun Dec 12, 2010 10:07 am    Post subject: will MQHRF2 fromat cause any issue in Datapower Reply with quote

Apprentice

Joined: 12 Dec 2010
Posts: 26

Hi,

we have developed two transformation maps in WTX those are XML to COBO and COBOL to XML .
We have to post message on to the queue and that will be picked by by datapower using fronside handler and will be transformed using the dpa file uploaded in the tranformation action. Everything is configured good. We got the reply from the backend system for the transformed message in the request flow.

Reply message coming from the backend system is having MQHRF2 value in the format of MQMD header.

We have created a MPG for reply flow. And

In the same way in request flow, we have uploaded the corresponding dpa file in the transform action in the reply rule. Reply queue name to which the reply message is coming from the backend system is given in the fronside handler. and the some target queue is given in the back side url.

But we are getting below error in the reply MPG.

dpa runtime error,

"one or more inputs was invalid".

the reply flow transformation is MRM to XML. So please help me in this case.


But when we extract the reply message (which is coming from the backend) to text pad and post into the queue using some tool and giving MQSTR or MQRFH2 format values.. THE MPG policy is working fine and we are getting the output message.
Back to top
View user's profile Send private message
harish_td
PostPosted: Mon Dec 13, 2010 12:40 am    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

To instruct DataPower back side handler to parse MQ Headers while picking up a response message, please use
Code:
dpmq://QUEUE-MANAGER/?ParseHeaders=true;RequestQueue=REQUEST.LQ;ReplyQueue=REPLY.LQ

Also documented in the below link
http://publib.boulder.ibm.com/infocenter/wsdatap/v3r8m1/index.jsp?topic=/xi50/integratingwithmq25.htm
Back to top
View user's profile Send private message Yahoo Messenger
v_nanduri
PostPosted: Mon Dec 13, 2010 12:58 am    Post subject: Still not working Reply with quote

Apprentice

Joined: 12 Dec 2010
Posts: 26

Hi Thanks for your reply . But still DP is giving the below error.

response gateway_rule_5 #1 xformbin: 'Transforming (possibly binary) INPUT with local:///COBOLtoXML.dpa results stored in OUTPUT' failed: 8: One or more inputs was invalid

But the same transformation map file for COBOL to xml convertion is working fine under WTX run time environment. Do we have to set anything in data power?

Please suggest me.

Thanks and Regards,
Lakshman.
Back to top
View user's profile Send private message
harish_td
PostPosted: Mon Dec 13, 2010 2:09 am    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

Does your COBOL Data contain NULL values? There is a known issue of NULL values throwing this error on DataPower

http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14555835
Back to top
View user's profile Send private message Yahoo Messenger
v_nanduri
PostPosted: Mon Dec 13, 2010 2:56 am    Post subject: Reply with quote

Apprentice

Joined: 12 Dec 2010
Posts: 26

Hi,

Thanks for the reply. there are no null vaues in the message. that dpa file is working when we post the message with format as MQSTR but its not working the when the format is MQHRF2.

Please suggest me some thing.

Thanks andRegards,
Lakshman
Back to top
View user's profile Send private message
harish_td
PostPosted: Mon Dec 13, 2010 7:37 pm    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

When you enable Probe, With the ParseHeaders set to true, Prior to the XFORM BIN action in the response rule, Do you see RFH2 Headers being displayed in a separate section?

When RFH Headers are present, they are treated as part of data. I guess that is the reason why the processing works when you re-play as MQSTR.

Can you also check what is the Data Format within the RFH Header?
Back to top
View user's profile Send private message Yahoo Messenger
v_nanduri
PostPosted: Mon Dec 13, 2010 9:58 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Dec 2010
Posts: 26

Hi,
Thanks for your reply, When I send the message using some application and with format MQSTR1, Message hexa decimal values are different and reply message coming fromt the backend having different hexadecimal values. and the CCSID-500 and Encoding is 785.

Thanks and Regards,
Lakshman.
Back to top
View user's profile Send private message
harish_td
PostPosted: Wed Dec 15, 2010 4:15 am    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

What is the message format that is set in the RFH Headers? Also the encoding and the CCSID of the RFH Headers would have to be examined.
Back to top
View user's profile Send private message Yahoo Messenger
v_nanduri
PostPosted: Wed Dec 15, 2010 9:29 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Dec 2010
Posts: 26

Message Format: MQHRF2
CCSID: 500
Encoding: 500
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 17, 2010 6:52 am    Post subject: Reply with quote

Grand High Poobah

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

v_nanduri wrote:
Message Format: MQHRF2
CCSID: 500
Encoding: 500

You mean to say that your RFH2 was built on a MainFrame?
That the format on the RFH2 (not the MQMD) is MQHRF2? (this is wrong)
I'd check the value of encoding 500 against the programming manual. From memory it doesn't seem right.
Also what are the values for the valuePairCCSID ?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
v_nanduri
PostPosted: Tue Dec 21, 2010 6:46 am    Post subject: Reply with quote

Apprentice

Joined: 12 Dec 2010
Posts: 26

Sorry,

I did give the wrong details.

CCSID: 500
Encoding 785

Thanks and Regards,
Lakshman.
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 DataPower » will MQHRF2 fromat cause any issue in Datapower
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.