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 » What's the benefits of using schemas within WMQI 2.1

Post new topic  Reply to topic
 What's the benefits of using schemas within WMQI 2.1 « View previous topic :: View next topic » 
Author Message
DELLIPIZ
PostPosted: Sun Oct 31, 2004 6:48 am    Post subject: What's the benefits of using schemas within WMQI 2.1 Reply with quote

Acolyte

Joined: 08 Oct 2003
Posts: 70

Hi again,

OK, I was able to import the schema using the mqsiimpxmlschema command. In this example, I am coverting legacy data into XML. So now, in the compute now, I have the output set as domain MRM with format of XML.

Does using this schema provide any benefits over just creating the XML manually within the compute node using domain XML? Is it doing any type of extra validation of my output? I can't find any documentation on this.

Thanks!
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Oct 31, 2004 11:46 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

DELLIPIZ wrote:

Does using this schema provide any benefits over just creating the XML manually within the compute node using domain XML? Is it doing any type of extra validation of my output? I can't find any documentation on this.

Yes. If you model your message in MRM then you can use "validation" capabality of the Broker where your message is validated against your message defn. This is the main advantage of importing XML Schema/DTD into MRM.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
kimbert
PostPosted: Mon Nov 01, 2004 3:18 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

By importing the schema, you also get content assist in the Compute node, which makes it easier to map your input message to your output message.
Back to top
View user's profile Send private message
DELLIPIZ
PostPosted: Tue Nov 02, 2004 2:41 pm    Post subject: Reply with quote

Acolyte

Joined: 08 Oct 2003
Posts: 70

Hi again,

I'm getting the following error with supposedly a valid schema. Any suggestions:

*****Error - Duplicate element name or key value detected (oa_Amount^currency)
BIP9398S: An error occurred whilst accessing the MRM database.
The error occurred in Function createElement calling MRMCreateElement. The return code = -33.
The meaning of the error code is : Component identifier already exists.
Check that the XML Schema being imported is valid. The meaning of the error
code displayed will help determine the cause of the error. More diagnostic
information can be obtained from the XML schema importer by using the verbose
and trace options. If the cause of the error cannot be determined please contact
your IBM support center.

Thanks! -Lori
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Nov 02, 2004 3:12 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Can you post your XML schema here? Also, please specify your Environment details.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
JT
PostPosted: Tue Nov 02, 2004 8:34 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Have a look at this thread: http://www-1.ibm.com/support/docview.wss?uid=swg1IC35949

Apparently the error you're experiencing can occur when there are similar elements, differentiated only by case (upper/lower).

A fix to the XML importer was added to CSD07 for v2.1.
Back to top
View user's profile Send private message
DELLIPIZ
PostPosted: Thu Nov 04, 2004 8:17 am    Post subject: Reply with quote

Acolyte

Joined: 08 Oct 2003
Posts: 70

Hi,

At CSD07, would I still get the following warnings, or are they now supported:

1)
*****Warning - Substitution Group found - not currently supported

2)
BIP9373W: 'Pattern' facet found and ignored
The MRM does not support this type of facet. The current entry has been ignored. No user action is required.

I'm just wondering if upgrading will help fix all my problems or if this particular schema just can't be imported.

Thanks!

-Lori
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 » What's the benefits of using schemas within WMQI 2.1
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.