Author |
Message
|
v_nanduri |
Posted: Sun Dec 12, 2010 10:07 am Post subject: will MQHRF2 fromat cause any issue in Datapower |
|
|
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 |
|
 |
harish_td |
Posted: Mon Dec 13, 2010 12:40 am Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
|
Back to top |
|
 |
v_nanduri |
Posted: Mon Dec 13, 2010 12:58 am Post subject: Still not working |
|
|
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 |
|
 |
harish_td |
Posted: Mon Dec 13, 2010 2:09 am Post subject: |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
|
Back to top |
|
 |
v_nanduri |
Posted: Mon Dec 13, 2010 2:56 am Post subject: |
|
|
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 |
|
 |
harish_td |
Posted: Mon Dec 13, 2010 7:37 pm Post subject: |
|
|
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 |
|
 |
v_nanduri |
Posted: Mon Dec 13, 2010 9:58 pm Post subject: |
|
|
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 |
|
 |
harish_td |
Posted: Wed Dec 15, 2010 4:15 am Post subject: |
|
|
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 |
|
 |
v_nanduri |
Posted: Wed Dec 15, 2010 9:29 pm Post subject: |
|
|
Apprentice
Joined: 12 Dec 2010 Posts: 26
|
Message Format: MQHRF2
CCSID: 500
Encoding: 500 |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 17, 2010 6:52 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
v_nanduri |
Posted: Tue Dec 21, 2010 6:46 am Post subject: |
|
|
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 |
|
 |
|