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 » Exception based on minOccurs

Post new topic  Reply to topic
 Exception based on minOccurs « View previous topic :: View next topic » 
Author Message
neval
PostPosted: Tue Nov 26, 2002 1:31 am    Post subject: Exception based on minOccurs Reply with quote

Novice

Joined: 20 Nov 2002
Posts: 14

Hi,

we get the following exception when we try to map an incoming
XML message into a MRM-CWF format:

(0x1000000)ParserException = (
(0x3000000)File = 'F:\build\S210_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp'
(0x3000000)Line = 2244
(0x3000000)Function = 'MtiImbParser::checkForMandatories'
(0x3000000)Type = 'ComIbmMQInputNode'
(0x3000000)Name = '19610e5a-f100-0000-0080-b45e7ef341ca'
(0x3000000)Label = 'KDNR_VSNR_SUCHE.DO_IN'
(0x3000000)Text = 'An element has been deemed complete occuring less than specified minOccurs'
(0x3000000)Catalog = 'WMQIv210'
(0x3000000)Severity = 3
(0x3000000)Number = 5374
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'ZUGRIFFSFLAG'
)
(0x1000000)Insert = (
(0x3000000)Type = 2
(0x3000000)Text = '0'
)
(0x1000000)Insert = (
(0x3000000)Type = 2
(0x3000000)Text = '1'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'ANW_HEADER'
)
(0x1000000)Insert = (
(0x3000000)Type = 2
(0x3000000)Text = '1'
)
)

The used MRM is based on a imported Cobol Copybook. Even we provide the required element we get this exception. If we set the minOccurs contrain to 0 everything is ok. Could somebody give some hints about that.

Regards
Back to top
View user's profile Send private message
lung
PostPosted: Tue Nov 26, 2002 4:44 pm    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

Looks to me your XML message has less occurences than the MinOccurs for the record you define in your MRM. Why do you need to use MinOccurs for?

In all my implementations, I've never use MinOccurs before... Only MaxOccurs.


_________________
lung
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
neval
PostPosted: Wed Nov 27, 2002 11:58 pm    Post subject: Reply with quote

Novice

Joined: 20 Nov 2002
Posts: 14

Hi Lung,

the setting of the minOccurs is executed automatically by the COBOL
import function of the Control Center. We disable the setting and the flow works correctly. But it is suprising that it doesn't work with a minOccurs constraint.
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 » Exception based on minOccurs
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.