|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
BIP5374E: Message Validation failure. |
« View previous topic :: View next topic » |
Author |
Message
|
james |
Posted: Mon Sep 26, 2005 6:10 pm Post subject: BIP5374E: Message Validation failure. |
|
|
Novice
Joined: 10 Jan 2003 Posts: 18
|
Hi,
I am doing a XML to MRM conversion and getting BIP5374E: Message Validation failure.
Two of my values are fine but the amount fields are stripping off when it hits the output node.
Anyideas......
ESQL :
SET OutputRoot.MRM.OUT_REC.TO_OUT.RUNID = inTRLREF.RUNID;
SET OutputRoot.MRM.OUT_REC.TO_OUT.TOTALRECORDS = inTRLREF.TOTALRECORDS;
SET OutputRoot.MRM.OUT_REC.TO_OUT.TOTAL_POSITIVE_AMT = inTRLREF.TOTAL_POSITIVE_AMT;
SET OutputRoot.MRM.OUT_REC.TO_OUT.TOTAL_NEGATIVE_AMT = inTRLREF.TOTAL_NEGATIVE_AMT;
SET OutputRoot.MRM.OUT_REC.TO_OUT.TOTAL_POSITIVE_QTY = inTRLREF.TOTAL_POSITIVE_QUAN;
SET OutputRoot.MRM.OUT_REC.TO_OUT.TOTAL_NEGATIVE_QTY = inTRLREF.TOTAL_NEGATIVE_QUAN;
Trace :
)
(0x01000000):TO_OUT = (
(0x03000000):RUNID = 'SIN02050000150170XXX'
(0x03000000):TOTALRECORDS = '27342'
(0x03000000):TOTAL_POSITIVE_AMT = '212620711.11'
(0x03000000):TOTAL_NEGATIVE_AMT = '-43022420.86'
(0x03000000):TOTAL_POSITIVE_QTY = '16821648'
(0x03000000):TOTAL_NEGATIVE_QTY = '-801301'
)
)
Usertrace :
UserTrace BIP5374E: Message Validation failure. An element, that has been deemed complete, does not meet the minOccurs constraint.
Element, 114^TOTAL_POS_QTY, has 0 instances on the logical tree, but has been defined or qualified with a minOccurs constraint of 1 within its parent type/element 59^TO_OUT of index 1.
Adjust the minOccurs constraint downwards and redeploy to the broker or increase the instances of the element in the message itself.
Thanks,
James |
|
Back to top |
|
 |
protocol |
Posted: Mon Sep 26, 2005 7:00 pm Post subject: |
|
|
 Apprentice
Joined: 25 Feb 2005 Posts: 41
|
Hi James,
I think the trace file specifies the error clearly.
The field TOTAL_POS_QTY is supposed to occur atleast once according to your message set definition, but it is not occuring at all in the input message.
If this field may not occur, then try setting the Min. Occurs as 0. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Sep 27, 2005 1:52 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Are you sure this is not a naming error. You have 'TOTAL_POSITIVE_QUAN' in the tree, but the name in the message model is 'TOTAL_POS_QTY'. |
|
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
|
|
|
|