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 » MRM - Mandatory Elements

Post new topic  Reply to topic Goto page Previous  1, 2
 MRM - Mandatory Elements « View previous topic :: View next topic » 
Author Message
goldym
PostPosted: Thu Jul 21, 2005 7:03 am    Post subject: Reply with quote

Centurion

Joined: 24 Jun 2005
Posts: 116

You guys are correct.. What I ended up doing is using the MRM to do the parsing and validating. I imported my schema files into one Message Project/messageSet and then generated seperate .mxsds for each one.
Back to top
View user's profile Send private message
goldym
PostPosted: Thu Jul 21, 2005 7:28 am    Post subject: Reply with quote

Centurion

Joined: 24 Jun 2005
Posts: 116

Since I have multiple .mxsds in a messageSet, when I have an XML that comes and my input node is set to the MRM domain, is there anyway to get the Root Tag? or determine which Message it belongs to? I need to do a route to label but I dont' knwo how to get the Message (Root Tag?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jul 21, 2005 7:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Again, unless you specify a RootTag property on the message set, one of the first children of InputRoot.XMLNS will be your root tag.

So, if your document looks like <myDoc><group1><elem1/></group1></myDoc>, then you can check to see if InputRoot.XMLNS.myDoc is NULL. If it is, you know that the root tag is something else.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Jul 22, 2005 4:41 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5543
Location: Southampton

Jeff : goldym is now using the MRM domain, so the root tag from the input document will not appear in the logical tree.

goldym : you can access the logical name of the input message like this:
Code:
InputRoot.Properties.MessageType

...so if all your input messages have a different logical name, you're home and dry.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 22, 2005 4:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kimbert wrote:
Jeff : goldym is now using the MRM domain, so the root tag from the input document will not appear in the logical tree.

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MRM - Mandatory Elements
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.