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 » Not getting correct set with mqsicreatemsgdefs.exe

Post new topic  Reply to topic
 Not getting correct set with mqsicreatemsgdefs.exe « View previous topic :: View next topic » 
Author Message
sarat
PostPosted: Mon Sep 11, 2006 11:30 am    Post subject: Not getting correct set with mqsicreatemsgdefs.exe Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Tue Sep 12, 2006 12:46 am    Post subject: Reply with quote

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
View user's profile Send private message
sarat
PostPosted: Tue Sep 12, 2006 2:46 am    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

Thank you Kibert.....Working fine
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
sarat
PostPosted: Tue Sep 12, 2006 11:24 am    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Wed Sep 13, 2006 12:51 am    Post subject: Reply with quote

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
View user's profile Send private message
sarat
PostPosted: Wed Sep 13, 2006 12:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Sep 13, 2006 12:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
sarat
PostPosted: Wed Sep 13, 2006 12:41 pm    Post subject: Reply with quote

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
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 » Not getting correct set with mqsicreatemsgdefs.exe
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.