Author |
Message
|
MQMD |
Posted: Mon May 14, 2007 4:22 am Post subject: Validation problem |
|
|
Apprentice
Joined: 03 May 2007 Posts: 45
|
I am getting following errors at the time of validation on MQOutput node
Invalid Member for typeContent closed
and
'An element has been deemed complete occurring less than specified minOccurs'
Can any one tell me what settings are missing in my configuration ??
Thnaks in advance. |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Mon May 14, 2007 4:26 am Post subject: Re: Validation problem |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
MQMD wrote: |
'An element has been deemed complete occurring less than specified minOccurs'
|
In your message there is TAG X.
In schema you defined that minOccurs of this tag is Y.
Problem is that in your message this X tag occurs less than Y times. _________________ Marcin |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Mon May 14, 2007 4:28 am Post subject: Re: Validation problem |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Please show your message and schema and...
We need more information. _________________ Marcin |
|
Back to top |
|
 |
MQMD |
Posted: Mon May 14, 2007 4:41 am Post subject: |
|
|
Apprentice
Joined: 03 May 2007 Posts: 45
|
Below is the complete exception trace.LocalEnvironment:
Environment:
Root: (
(0x01000000):Properties = (
(0x03000000):MessageSet = 'E6LC02C002001'
(0x03000000):MessageType = 'msg_INTERFACERES'
(0x03000000):MessageFormat = 'CWF'
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-05-14 12:00:46'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 4
(0x03000000):ReplyIdentifier = X'414d51204449414d4f4e445f4d475220d64b484620003505'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'PROJ.INTERFACE.Q'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 1208
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 2
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 4
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'c3e2d840d4d8e2d94040404040404040c097d26ccfd88188'
(0x03000000):CorrelId = X'414d51204449414d4f4e445f4d475220d64b484620003505'
(0x03000000):BackoutCount = 1
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'MQSR '
(0x03000000):UserIdentifier = 'a200 '
(0x03000000):AccountingToken = X'1910c6d9e2d6e5c1c34bc3c9c3e2c1d5f2d297d26ccecdc50001000000000000'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 1
(0x03000000):PutApplName = 'PUTAPP '
(0x03000000):PutDate = DATE '2007-05-14'
(0x03000000):PutTime = GMTTIME '12:00:46'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000021):MRM = (
(0x0300000B):A = '4334'
(0x0300000B):B = ''
(0x0300000B):C = ''
(0x0300000B) = 'MQSERIESTEST'
(0x0300000B):E = 'INTERFACE'
(0x0300000B):F = ''
(0x0300000B):G = 'APPLICATION'
(0x0300000B):H = ''
(0x0300000B):I = ''
(0x0300000B):J = ''
(0x0300000B):K = ''
(0x0300000B):L = ''
(0x0300000B):M = ''
(0x0300000B):N = ''
(0x0300000B):O = ''
(0x0300000B) = 'LINE1'
(0x0300000B):Q = ''
(0x0300000B):R = '78480'
(0x0300000B):S = 'LINE2'
(0x0300000B):T = ''
(0x0300000B):U = '01'
(0x0300000B):V = '00'
(0x0300000B):W = '01000'
(0x0300000B):X = '00'
)
)
ExceptionList: (
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S000_P\src\DataFlowEngine\ImbMqInputNode.cpp'
(0x03000000):Line = 1768
(0x03000000):Function = 'ImbCommonInputNode::eligibleForBackout'
(0x03000000):Type = 'ComIbmMQInputNode'
(0x03000000):Name = 'INTERFACEResFlow#FCMComposite_1_1'
(0x03000000):Label = 'INTERFACEResFlow.MQInput'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 2652
(0x03000000):Text = 'Dequeued failed message. Propagating a message to the failure terminal'
)
)
ExceptionList: (
(0x01000000):RecoverableException = (
(0x03000000):File = 'F:\build\S000_P\src\DataFlowEngine\ImbMqOutputNode.cpp'
(0x03000000):Line = 769
(0x03000000):Function = 'ImbMqOutputNode::evaluate'
(0x03000000):Type = 'ComIbmMQOutputNode'
(0x03000000):Name = 'INTERFACEResFlow#FCMComposite_1_2'
(0x03000000):Label = 'INTERFACEResFlow.MQOutput'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 2230
(0x03000000):Text = 'Caught exception and rethrowing'
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S000_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp'
(0x03000000):Line = 1711
(0x03000000):Function = 'MtiImbParser::refreshBitStreamFromElements - 9 par'
(0x03000000):Type = 'ComIbmMQInputNode'
(0x03000000):Name = 'INTERFACEResFlow#FCMComposite_1_1'
(0x03000000):Label = 'INTERFACEResFlow.MQInput'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 5286
(0x03000000):Text = 'ImbRecoverableException caught from worker when attempting to write out the bitstream.'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'INTERFACEMessageSet'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '1'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'XML'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Envelope'
)
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S000_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbDictionaryIterator.cpp'
(0x03000000):Line = 486
(0x03000000):Function = 'MtiImbDictionaryIterator::validateTypeContent'
(0x03000000):Type = 'ComIbmMQInputNode'
(0x03000000):Name = 'INTERFACEResFlow#FCMComposite_1_1'
(0x03000000):Label = 'INTERFACEResFlow.MQInput'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 5393
(0x03000000):Text = 'One or more Message Validation failures have occurred.'
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S000_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbDictionaryIterator.cpp'
(0x03000000):Line = 486
(0x03000000):Function = 'MtiImbDictionaryIterator::validateTypeContent'
(0x03000000):Type = 'ComIbmMQInputNode'
(0x03000000):Name = 'INTERFACEResFlow#FCMComposite_1_1'
(0x03000000):Label = 'INTERFACEResFlow.MQInput'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 5371
(0x03000000):Text = 'Invalid Member for typeContent closed'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'MatInterNo'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '/INTERFACEres.PROJmond.gemb.fr:INTERFACERES'
)
)
(0x01000000):ParserException = (
(0x03000000):File = 'F:\build\S000_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp'
(0x03000000):Line = 3761
(0x03000000):Function = 'MtiImbParser::checkSeqForMissingMandatories'
(0x03000000):Type = 'ComIbmMQInputNode'
(0x03000000):Name = 'INTERFACEResFlow#FCMComposite_1_1'
(0x03000000):Label = 'INTERFACEResFlow.MQInput'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 5374
(0x03000000):Text = 'An element has been deemed complete occurring less than specified minOccurs'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '259^A'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '0'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '1'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'INTERFACEres.PROJmond.gemb.fr:INTERFACERES'
)
(0x01000000):Insert = (
(0x03000000):Type = 2
(0x03000000):Text = '1'
)
)
)
)
)
)
min and max occurance for field A are set to 1. |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Mon May 14, 2007 4:59 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Please show your input message. _________________ Marcin |
|
Back to top |
|
 |
vsr |
Posted: Mon May 14, 2007 5:09 am Post subject: |
|
|
Centurion
Joined: 04 Apr 2006 Posts: 104
|
Normally this happens when the input message has a element repeated less than 'MINIMUM' occurs and input node validation property is set. So check the input message and make sure that it satisfies the MRM.
You can generate a sample XML using Toolkit , if your MRM is XML ( I guess so ), and compare with your input message. |
|
Back to top |
|
 |
MQMD |
Posted: Mon May 14, 2007 5:15 am Post subject: |
|
|
Apprentice
Joined: 03 May 2007 Posts: 45
|
Thanks the problem was due to spelling mistake.It's ok now. |
|
Back to top |
|
 |
|