Author |
Message
|
nize |
Posted: Wed Sep 02, 2009 11:49 pm Post subject: Message domain set to MRM but message parsed using XMLNS |
|
|
Voyager
Joined: 02 Sep 2009 Posts: 90
|
Hi,
I have a message set HLMCKR4002001 having a message definition file generated using an xsd. It has two formats defined XML1 and CWF1 and it the namespace checkbox was checked when I generated it.
I have created a flow (referencing the message set project) in which I want to transform XML messages to CWF1 messages. I have configured the MQInput node having
Message Domain: MRM
Message Set: (...) HLMCKR4002001
Message Format: XML1
Validation: Content and Value
But when I put a message to the flow (while debugging) the message looks as if it was parsed using the XMLNS parser! It is attached to InputRoot.XMLNS.
What could be the reason? Is this correct? I thought I only had to change message format using a compute node with the lines:
CALL CopyEntireMessage();
SET OutputRoot.Properties.MessageFormat='CWF1';
Thanks in advance!
Last edited by nize on Thu Sep 03, 2009 3:04 am; edited 1 time in total |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 03, 2009 1:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you have an RFH header on the message it will override the flow's input node configuration for the parser.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
nize |
Posted: Thu Sep 03, 2009 4:50 am Post subject: |
|
|
Voyager
Joined: 02 Sep 2009 Posts: 90
|
thanks... that made the trick! I guess the WMB parser reads the content in the mcd folder? |
|
Back to top |
|
 |
kimbert |
Posted: Thu Sep 03, 2009 5:06 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
I have a message set HLMCKR4002001 |
These days I advise users to identify their message sets by name, not by their 13-character id. It is much more readable, and you will have fewer problems when you upgrade to v6.1 some day. |
|
Back to top |
|
 |
nize |
Posted: Thu Sep 03, 2009 5:46 am Post subject: |
|
|
Voyager
Joined: 02 Sep 2009 Posts: 90
|
Really I did it by name, but in order to underline that it was the correct reference I pasted id here in the post. It says in parentheses beside the name. Thanks for the advice! |
|
Back to top |
|
 |
|