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 » creating MessageSet using JAVA Prog

Post new topic  Reply to topic
 creating MessageSet using JAVA Prog « View previous topic :: View next topic » 
Author Message
bhupa_sri
PostPosted: Fri Sep 01, 2006 7:09 am    Post subject: creating MessageSet using JAVA Prog Reply with quote

Apprentice

Joined: 30 Dec 2004
Posts: 30
Location: India

Hi all,

I would like to create a Message Set in WBI MB 6.0 on windows 2000 OS using java program where an xml file is input for the program. can anybody help me in this, any links or suggestions.

Thanks in advance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Sep 01, 2006 7:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

A message set is an XSD, with custom extensions.

If you need to make varients of the same message set, your best bet is to build two by hand, and then figure out what needs to be changed to make the rest.

You can import an XML file, and then create an XSD from it and then create a new message set from that XSD. But that's manual, unless you can figure out how to automate those tasks using Ant in the Toolkit.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bhupa_sri
PostPosted: Fri Sep 01, 2006 9:46 am    Post subject: Reply with quote

Apprentice

Joined: 30 Dec 2004
Posts: 30
Location: India

Thanks for your quick reply...

This is we think of

1) Generate a xsd with xml using Java prog..
2) Create a messageset, run the mqsicommands in the Java prog

Is it correct approach..and is it possible to generate xsd with xml in java.

Thanks for your suggestions.....
Back to top
View user's profile Send private message
kimbert
PostPosted: Sat Sep 02, 2006 4:00 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I would like to create a Message Set...where an xml file is input for the program
It's hard to advise you without knowing a bit more about your requirements. What is the message set for? What information is the XML file supplying? What is the intended physical format ( XML/CWF/TDS/non-MRM)?
Back to top
View user's profile Send private message
bhupa_sri
PostPosted: Wed Sep 06, 2006 6:32 am    Post subject: Reply with quote

Apprentice

Joined: 30 Dec 2004
Posts: 30
Location: India

Thanks for the replies

we got a solution for the above as follows:

Generate DTD using the java program with xml as input.
Message sets are created using "mqsicreatemsgdefs" command in the above java prog.

once again thanks for all...
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 » creating MessageSet using JAVA Prog
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.