Author |
Message
|
DELLIPIZ |
Posted: Sun Oct 31, 2004 6:48 am Post subject: What's the benefits of using schemas within WMQI 2.1 |
|
|
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 |
|
 |
kirani |
Posted: Sun Oct 31, 2004 11:46 pm Post subject: |
|
|
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 |
|
 |
kimbert |
Posted: Mon Nov 01, 2004 3:18 am Post subject: |
|
|
 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 |
|
 |
DELLIPIZ |
Posted: Tue Nov 02, 2004 2:41 pm Post subject: |
|
|
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 |
|
 |
kirani |
Posted: Tue Nov 02, 2004 3:12 pm Post subject: |
|
|
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 |
|
 |
JT |
Posted: Tue Nov 02, 2004 8:34 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
|
Back to top |
|
 |
DELLIPIZ |
Posted: Thu Nov 04, 2004 8:17 am Post subject: |
|
|
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 |
|
 |
|