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 » How to define optional elements in a MessageSet

Post new topic  Reply to topic
 How to define optional elements in a MessageSet « View previous topic :: View next topic » 
Author Message
pbravi
PostPosted: Wed May 15, 2002 9:30 pm    Post subject: How to define optional elements in a MessageSet Reply with quote

Newbie

Joined: 15 May 2002
Posts: 6
Location: INDIA

Hi All
I am working in a message set Transalation of one format to another.
I am able to translate the input message if my input message contains all the elements defined in the message of Message Set.

My Input message contains some optional elments. when these optional elements are not present in my input message my output message gets mangled.

How to handle optional elements/type in the messages

Thanks in Advance
P.B.Ravichandran
Back to top
View user's profile Send private message MSN Messenger
Yanghui
PostPosted: Thu May 16, 2002 6:18 am    Post subject: Reply with quote

Disciple

Joined: 08 May 2002
Posts: 151
Location: Dublin, Ireland

When you include one element in the compound type, you can get a Connection tag for this element in the right pane. In the tag, if you setup "Min Occurs" as 0. Then, this element becomes optional.

Hope it helps.

-Yanghui
Back to top
View user's profile Send private message Send e-mail
pbravi
PostPosted: Thu May 16, 2002 8:29 pm    Post subject: Reply with quote

Newbie

Joined: 15 May 2002
Posts: 6
Location: INDIA

Hi Thanks
We have found the solution

We are transforming edi message to xml.

The Tag name was set in the element properties of the tdf tab after attaching the compound type as an element to the Root Type.
Back to top
View user's profile Send private message MSN Messenger
solomita
PostPosted: Wed May 07, 2003 5:07 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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to define optional elements in a MessageSet
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.