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 » messageset & xsd:import

Post new topic  Reply to topic
 messageset & xsd:import « View previous topic :: View next topic » 
Author Message
Maximreality
PostPosted: Wed Dec 06, 2006 6:39 am    Post subject: messageset & xsd:import Reply with quote

Acolyte

Joined: 04 Jun 2004
Posts: 65
Location: Copenhagen

I am trying to create a message definition file from an XSD that refers to other XSD files using xsd:import.
Code:
<xsd:import namespace="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/sap_idoccontrol" schemaLocation="sap_idoccontrol.xsd"/>


The problem is that the refered XSD's does not get imported into the message definition.
How do i get all the refered XSD's to be a part of my message definnition?

/Rasmus
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Dec 06, 2006 6:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You have to create additional message definition files from those imported schemas.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Maximreality
PostPosted: Wed Dec 06, 2006 7:25 am    Post subject: Reply with quote

Acolyte

Joined: 04 Jun 2004
Posts: 65
Location: Copenhagen

jefflowrey wrote:
You have to create additional message definition files from those imported schemas.


Exactly what i feared...., but thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Dec 06, 2006 7:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's really not a big deal.

The other option is to use a Schema Slimmer to create a single, unified XSD.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Dec 06, 2006 9:27 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You can do this in either of two ways:
a) import the schemas one at a time, and adjust the include/import properties to get the linkage correct.
b) use mqsicreatemsgdefs.exe to import all of the xsds at once. This tool will automatically adjust the imports/includes for you.
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 » messageset & xsd: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.