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 » Optional Elements

Post new topic  Reply to topic
 Optional Elements « View previous topic :: View next topic » 
Author Message
Deepika
PostPosted: Mon Jul 22, 2002 1:38 am    Post subject: Optional Elements Reply with quote

Novice

Joined: 03 Jul 2002
Posts: 14

Is it possible to define some elements as optional in an MRM ???
Back to top
View user's profile Send private message
Miriam Kaestner
PostPosted: Thu Jul 25, 2002 2:59 am    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2001
Posts: 103
Location: IBM IT Education Services, Germany

Yes, on the Connection tab of the instantiated Element (within a Compound Type) you can specify MinOccurs=0.
Back to top
View user's profile Send private message Send e-mail
solomita
PostPosted: Wed May 07, 2003 5:10 am    Post subject: Reply with quote

Voyager

Joined: 06 May 2003
Posts: 94

I tried setting the min occurs in my connection tab to 0 and it still gives me an error when the expected data is missing from the XML. I am translating from xml to MRM.
Back to top
View user's profile Send private message Yahoo Messenger
Miriam Kaestner
PostPosted: Wed May 07, 2003 10:49 am    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2001
Posts: 103
Location: IBM IT Education Services, Germany

Are you using CWF physical format? Then elements are not really optional, there must be a default value (an element value with role=default value) defined for it. For fixed length formats such as CWF and TDS with fixed length all elements must exist and be in correct sequence.
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 » Optional Elements
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.