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 » UnorderedSet and choice (REDEFINES) ?

Post new topic  Reply to topic
 UnorderedSet and choice (REDEFINES) ? « View previous topic :: View next topic » 
Author Message
m00300
PostPosted: Tue Sep 06, 2005 7:10 am    Post subject: UnorderedSet and choice (REDEFINES) ? Reply with quote

Apprentice

Joined: 01 May 2002
Posts: 31

I've got to change one of our MRM messages models to include a redefines (first time we've ever had to use REDEFINES!).

The input data is XML and we are outputing CWF. I've looked this up in the manuals and found the bit about 'choice'...however our existing message model is built as an UnorderedSet (so the fields could be populated out of order) and it looks like the use of 'choice' in an UnorderedSet isnt allowed ?

Currently the message model just contains a couple of repeating groups and the lowest level repeating group is the one that needs to be redefined.
I tried replacing the 'type' with a 'group' with composition set to 'choice' and got an error message :

'Invalid content starting with element 'SectionGroup'. The parent content model is <unorderedSet>, which can only contain {annotation (0-1), element (0-UNBOUNDED)}'

Is this correct or am I going about it wrong ?
Any advice appreciated
K.
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Wed Sep 14, 2005 1:19 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Your general approach is fine. However, UnorderedSet cannot contain groups, so you will have to change it to Sequence, and then make sure that you populate the message tree in the correct sequence.
Back to top
View user's profile Send private message
m00300
PostPosted: Wed Sep 14, 2005 2:29 am    Post subject: Reply with quote

Apprentice

Joined: 01 May 2002
Posts: 31

Unfortunetaly I dont have the luxury of being able to re-code it to populate in the correct sequense so i've ended up creating a new message and selecting the approriate one using ESQL.

Thanks for confirming the requirements for groups though.
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 » UnorderedSet and choice (REDEFINES) ?
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.