|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Invalid Length in MQRFH2 |
« View previous topic :: View next topic » |
Author |
Message
|
SKK |
Posted: Tue Aug 23, 2005 12:30 pm Post subject: Invalid Length in MQRFH2 |
|
|
 Acolyte
Joined: 09 May 2005 Posts: 67
|
Hi,
I'm receiving an Input message to MQSI 2.1 Message Flow in the below format from an Application Tool.
RFH ã ¸ 9/usr/local/QA/xmlin/a1124801269843UBFE_QAin V HTTP V QA QA XML 4<686280374.1124801375599.JavaMail.wmit_adm@04a> a1124801269843QAin XML 0 CORR1124801205474.84- AS2 %<?xml version="1.0" encoding="UTF-8"?>
When i open the message in RFH2 Util, it says "invalid length in RFH2 Variable Area" and my message flow is not able to recognise the message. Since the message type on input node is XML, this message goes to failure node.
I tried removing RFH2 Header.
Set OutputRoot.MQRFH2=null;
It didn't help. Can anyone let me know using ESQL how to remove the RFH2 Header and recognize the message as XML in subsequent nodes?
Thanks
KK |
|
Back to top |
|
 |
recallsunny |
Posted: Tue Aug 23, 2005 2:09 pm Post subject: |
|
|
 Disciple
Joined: 15 Jun 2005 Posts: 163 Location: Massachusetts
|
Its not a Valid XML, so your Message Flow cannot recognise it. Try changing the Format to BLOB and then substring the Blob for the first occurance of <?xml till the end of message. Now you should have a well formed XML....
Add a ResetContentDescriptor and change Domain to XML, so that you can reparse the Root in XML domain. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 24, 2005 3:12 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If it were a valid RFH2 header, then the message flow would process that, and then be able to treat the XML as XML.
Also, fi the RFH2 header is there, and it specifies that the message is XML, then the broker will parse it as XML regardless of what the MQInput node says.
Are you getting any errors when the message passes to the failure node? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
EddieA |
Posted: Wed Aug 24, 2005 8:12 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Also, can you dump the message with amqsbcg, as that will enable you to see the contents of the RFH header.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
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
|
|
|
|