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 » BIP5374E: Message Validation failure.

Post new topic  Reply to topic
 BIP5374E: Message Validation failure. « View previous topic :: View next topic » 
Author Message
james
PostPosted: Mon Sep 26, 2005 6:10 pm    Post subject: BIP5374E: Message Validation failure. Reply with quote

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
View user's profile Send private message
protocol
PostPosted: Mon Sep 26, 2005 7:00 pm    Post subject: Reply with quote

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

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
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 » BIP5374E: Message Validation failure.
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.