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 Message Broker (ACE) Support » Message domain set to MRM but message parsed using XMLNS

Post new topic  Reply to topic
 Message domain set to MRM but message parsed using XMLNS « View previous topic :: View next topic » 
Author Message
nize
PostPosted: Wed Sep 02, 2009 11:49 pm    Post subject: Message domain set to MRM but message parsed using XMLNS Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 03, 2009 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
nize
PostPosted: Thu Sep 03, 2009 4:50 am    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Thu Sep 03, 2009 5:06 am    Post subject: Reply with quote

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
View user's profile Send private message
nize
PostPosted: Thu Sep 03, 2009 5:46 am    Post subject: Reply with quote

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
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 Message Broker (ACE) Support » Message domain set to MRM but message parsed using XMLNS
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.