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 » Create Message definition file from Schema with import

Post new topic  Reply to topic
 Create Message definition file from Schema with import « View previous topic :: View next topic » 
Author Message
saurabh867
PostPosted: Sun Sep 18, 2011 10:58 pm    Post subject: Create Message definition file from Schema with import Reply with quote

Voyager

Joined: 13 Jun 2010
Posts: 78

Hi,

I want to create a message definition file from my set of schema. The entry

point schema (having main complex type declaration) has reference to other

complex types. I tried creating this by the wizard but the wizard only creates

the definition file for one xsd. Is there any option for intelligent select, auto-discovery of the imported schema and create the definition files for those too.

Regards,
Saurabh
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Sep 18, 2011 11:43 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

look at the 'import' and 'include' options in the XSD.

Then create the msxd for the other xsd's before doing the main one. Have them all in the message set project.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
saurabh867
PostPosted: Mon Sep 19, 2011 12:34 am    Post subject: Reply with quote

Voyager

Joined: 13 Jun 2010
Posts: 78

Yes. I know this option and I am looking for some intelligent, auto-discovery for these import,include statements from the main xsds.
Is there any such option available?
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Sep 19, 2011 12:37 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Use the command line tool mqsicreatemsgdefs. It imports all xsds in a folder ( and its subfolders), automatically fixing up includes/imports to match the new folder structure in the message set.
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 » Create Message definition file from Schema with import
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.