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 » Different Xml input file and different XSD for single queue

Post new topic  Reply to topic
 Different Xml input file and different XSD for single queue « View previous topic :: View next topic » 
Author Message
Harshalw
PostPosted: Mon Dec 08, 2008 12:29 am    Post subject: Different Xml input file and different XSD for single queue Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

I have a change request in which same queue will be getting different xml and there a different XSD for the same. I need to validate all the xml files, Is that possible in WMB 6.1 using single input queue ? if so please let me know how.
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Dec 08, 2008 2:15 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Anything is possible

When you say 'different XSD' do you really mean 'different .xsd file' or just a different root tag name? I am assuming that these messages will share some common type/element definitions.

Your options are:
a) create one message set, and import all of the XSDs into it. The XMLNSC parser will pick the correct message definition based on the root tag name.

b) if the source application knows the name of the message set, or the name of the root tag, then create a different message set from each xsd, and pass in the appropriate message set name in the <set> tag of an MQRFH2 mcd folder.

a) is obviously the best option, and is probably what you want.

I strongly recommend that you use XMLNSC, not MRM for parsing and validating the XML.
Back to top
View user's profile Send private message
Harshalw
PostPosted: Mon Dec 08, 2008 3:25 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

Thanks Jedi, yes option a > is easier one , will try for that .
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 » Different Xml input file and different XSD for single queue
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.