|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Modelling for unordered optional elements |
« View previous topic :: View next topic » |
Author |
Message
|
gs |
Posted: Wed Jan 20, 2010 9:03 am Post subject: Modelling for unordered optional elements |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
I'm modelling a messageset for fixed length TDS files where the 2 first bytes contains the tag.
There's always a message header (00) and a message footer (99) and in between an undefined amount of optional tagged rows (01,02,03 etc).
Example:
Code: |
00<data>
01<data>
02<data>
03<data>
01<data>
01<data>
02<data>
03<data>
05<data>
99<data> |
Judging from the docs, it seems I should put all the optional elements in a unorderedSet group and the header & footer outside it.
However, I've successfully done this in WMB 6.1 but in WMB 6.0 (customer requirement) I'll get "ImbRecoverableException caught from worker-parseNext" and the footer (99) isn't parsed (verified in debugger & trace).
Am I missing some detail or just doing it wrong? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jan 20, 2010 9:30 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
use a repeating choice, not an unordered set. |
|
Back to top |
|
 |
gs |
Posted: Fri Jan 22, 2010 7:27 am Post subject: |
|
|
 Master
Joined: 31 May 2007 Posts: 254 Location: Sweden
|
mqjeff wrote: |
use a repeating choice, not an unordered set. |
Thanks, worked as a charm! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|