|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CWF migration problem |
« View previous topic :: View next topic » |
Author |
Message
|
Luca81 |
Posted: Wed Jan 30, 2008 7:39 am Post subject: CWF migration problem |
|
|
Acolyte
Joined: 01 Mar 2007 Posts: 62
|
Hi again,
We migrated a Message Set from V5 to V6...
We have a message like this to V5
Message
ComplexElem1 1..1
ComplexElem2 1..-1
SimpleElem1 1..1
When we migrated the message to V6
We had this warning in the toolkit:
Element 'ComplexElem2' has unbounded number of repeats and this it must be the last member of its parent group. Physical format CWF
Can u help me to fix it?
Should I put a big number in MaxOccurs?
Thx a lot
Regards
Luca |
|
Back to top |
|
 |
kimbert |
Posted: Wed Jan 30, 2008 8:08 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
If your message flow is working correctly, then you do not need to do anything - it is only a warning. The CWF parser can parse an unknown number of occurrences if the repeating field is the last item in the message. The end of the message signals the end of the occurrences. In your message definition, the repeating field is not the last field in the message, so the CWF parser would not be able to parse using that message definition.
However, I presume that you are writing a message, not parsing it. In which case, you are probably OK. |
|
Back to top |
|
 |
Luca81 |
Posted: Wed Jan 30, 2008 8:20 am Post subject: |
|
|
Acolyte
Joined: 01 Mar 2007 Posts: 62
|
kimbert wrote: |
If your message flow is working correctly, then you do not need to do anything - it is only a warning. The CWF parser can parse an unknown number of occurrences if the repeating field is the last item in the message. The end of the message signals the end of the occurrences. In your message definition, the repeating field is not the last field in the message, so the CWF parser would not be able to parse using that message definition.
However, I presume that you are writing a message, not parsing it. In which case, you are probably OK. |
Thx a lot.
yes I don't need to parse the msg... I need only to write it... |
|
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
|
|
|
|