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 » CWF minOccurs=0 not working

Post new topic  Reply to topic
 CWF minOccurs=0 not working « View previous topic :: View next topic » 
Author Message
MBExpert
PostPosted: Mon Feb 01, 2010 8:44 am    Post subject: CWF minOccurs=0 not working Reply with quote

Novice

Joined: 22 Aug 2007
Posts: 14

Hi,

I am using a cwf messageset at input. When I am receiving message from client, last few fields are missing. Those fields are optional, and to specify that I made the minOccurs of those elements within messageset as 0. But still it gives parsing errors --> 'CPI Input data too short'.

I have tried with multiple options, specifying those fields as nillable, having them some defaults value (which by the way are also not being taken by mesageset). I even removed validation options (made it validatenone at MQInput). But nothing seems to work.

Any ideas?

Thanks,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 01, 2010 2:00 pm    Post subject: Re: CWF minOccurs=0 not working Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

MBExpert wrote:
Hi,

I am using a cwf messageset at input. When I am receiving message from client, last few fields are missing. Those fields are optional, and to specify that I made the minOccurs of those elements within messageset as 0. But still it gives parsing errors --> 'CPI Input data too short'.

I have tried with multiple options, specifying those fields as nillable, having them some defaults value (which by the way are also not being taken by mesageset). I even removed validation options (made it validatenone at MQInput). But nothing seems to work.

Any ideas?

Thanks,

If you are using a CWF format only the last field(/structure) can be optional and repetitive an unknown/undefined number of times.

All other repetitive structures / fields need an 'occurs' field located before the structure is reached to determine the number of occurrences.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » CWF minOccurs=0 not working
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.