Posted: Wed May 15, 2002 9:30 pm Post subject: How to define optional elements in a MessageSet
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
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.
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.
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