Author |
Message
|
sarat |
Posted: Mon Sep 11, 2006 11:30 am Post subject: Not getting correct set with mqsicreatemsgdefs.exe |
|
|
 Centurion
Joined: 29 Jun 2005 Posts: 136 Location: India
|
Hi,
I'm trying to generate a message set using the command mqsicreatemsgdefs. I'm passing the params input as xsd and it's generating the folder structure correctly. But while importing that set into the toolkit i'm unable to find the Messages in .mxsd. Means it's not recognizing the Root tag. But all the fileds are present in the Elements and Attributes Folder. Can anybody help me what i've done wrong. This is tha commad i've given
mqsicreatemsgdefs -data D:\Mset -p WBI_TEST123 -d D:\Schema.
Env: Mb 6.0.0.1 with Windows _________________ With Regards,
Sarat. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Sep 12, 2006 12:46 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
From the message broker docs for mqsicreatemsgdefs:
Code: |
-msg
(Optional) Creates messages from complex global elements |
|
|
Back to top |
|
 |
sarat |
Posted: Tue Sep 12, 2006 2:46 am Post subject: |
|
|
 Centurion
Joined: 29 Jun 2005 Posts: 136 Location: India
|
Thank you Kibert.....Working fine _________________ With Regards,
Sarat. |
|
Back to top |
|
 |
sarat |
Posted: Tue Sep 12, 2006 11:24 am Post subject: |
|
|
 Centurion
Joined: 29 Jun 2005 Posts: 136 Location: India
|
I've got another query!!!!!
i am running the .xsd file from the command console to create the message set and that message set i would like to import into the message broker tool kit. till now i can deploy it successfully.
my problem is i am unable to pass the name space. The .xsd file doesn't contain the namespace,even i've passed the param -ns in the mqsicreatemsgdefs command. Can anybody help me how to pass the parameters from the command console. _________________ With Regards,
Sarat. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Sep 13, 2006 12:51 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
my problem is i am unable to pass the name space. The .xsd file doesn't contain the namespace |
I don't understand. You don't have to 'pass the namespace' to mqsicreatemsgdefs.exe. It uses the target namespace of the .xsd file which it is importing.
IF the .xsd file which you are importing does not have a target namespace
THEN the .mxsd created by mqsicreatemsgdefs.exe will not have a target namespace.
The -ns parameter should always be used if you want namespaces. |
|
Back to top |
|
 |
sarat |
Posted: Wed Sep 13, 2006 12:09 pm Post subject: |
|
|
 Centurion
Joined: 29 Jun 2005 Posts: 136 Location: India
|
Thanks again,
Can you tell me how the system manager creates the .xsd files while we create the BO's. I mean which class files it'll use. Please provide me some information regarding this. Bcoz these .xsd fileds have the Namespaces. So i want to know how these .xsd files will generate. _________________ With Regards,
Sarat. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Sep 13, 2006 12:12 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you are talking about the ICS System Manager and Business Objects created with the ICS Business Object Designer, then you should NOT be using mqsicreatemsgdefs to build a message set.
You should be using the Business Object Designer to EXPORT the BO as a Message Set. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sarat |
Posted: Wed Sep 13, 2006 12:41 pm Post subject: |
|
|
 Centurion
Joined: 29 Jun 2005 Posts: 136 Location: India
|
Thanks Jeff,
Yeah i know tht we should use Business Object Designer. But i want to know the internal process for creation of .xsd files for the BO. _________________ With Regards,
Sarat. |
|
Back to top |
|
 |
|