|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MsgSet scehma import |
« View previous topic :: View next topic » |
Author |
Message
|
madi |
Posted: Fri Apr 07, 2006 8:51 am Post subject: MsgSet scehma import |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
Hi All
I am trying to create a msgset from a schema.
The schema inturn imports like 10 different schemas within itself.
I have all the schemas in the same directory stucture but when I create the msg def file using the parent schema it is not able to import the other schemas??
Is there an extra step involved for doing this??
thanks
madi |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Apr 07, 2006 11:35 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
1st you need to know whether you are dealing with namespaces or not.
If dealing with namespaces you need to setup the right directory below your messageset.
Once the directories are set up make sure the relative position of the .xsd files corresponds to what is expected in your parent schema in the import -- location part.
Enjoy
As an alternate you can install all the dependencies separately (one by one) starting from the bottom up.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
madi |
Posted: Mon Apr 10, 2006 6:11 am Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
I am using namespaces
OK Here is what I did.
I imported all the schemas into the msgSet project along with the parent schema. The parent schema does not have a path in it, so Im assuming it looks for them in the same directory.
Quote: |
As an alternate you can install all the dependencies separately (one by one) starting from the bottom up. |
What did you mean by this, can i get some more info on it or may be a link to where i can find it.
thanks
madi |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 10, 2006 12:54 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
madi wrote: |
I am using namespaces
OK Here is what I did.
I imported all the schemas into the msgSet project along with the parent schema. The parent schema does not have a path in it, so Im assuming it looks for them in the same directory. |
As per Steven Segal movie: Assumption is the mother of all .....
You need to check your xsds and particularly if there is an import clause.
Then find out what is on the schemalocation for the said import clause....
Usually the path is relative.
If it looks for them on the same path you should find an include clause...
madi wrote: |
Quote: |
As an alternate you can install all the dependencies separately (one by one) starting from the bottom up. |
What did you mean by this, can i get some more info on it or may be a link to where i can find it.
thanks
madi |
Well say that mygiven.xsd has as imports mygivenheaders.xsd and mygivencommons.xsd. Now these may be in a different namespace (see above). If you don't want to place all 3 files in their right relative directories, import first mygivencommons.xsd, then mygivenheaders.xsd and finally mygiven.xsd.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|