Posted: Mon Aug 11, 2003 1:51 am Post subject: choice element problem
Centurion
Joined: 03 Jul 2003 Posts: 133 Location: London
Hi
The particular problem concerns the transformation from XML to MRM; the message set was imported from a COBOL-copybook.
I'm not sure any further detail is helpful at this stage, so here's the error statement generated by a trace node, for starters.
Many thanks in advance
Sean Hogan
===============================================
The CWF worker cannot handle certain types of elements (those for which the length depends on the actual value of the message) within a 'choice' element. This error indicates that the CWF Worker has encountered such elements and cannot proceed with parsing or writing.
Redesign the message in question so that its 'choice' elements do not contain the illegal physical types (null, null terminated string, length encoded string 1 and length encoded string 2) or use a different wire format.
===============================================
This error message seems relatively clear on what the problem is.
You have a type that has a type composition of 'Choice'. One or more of the children in that type have a length that is determined by some other part of the message, and the CWF parser can't handle that.
Without a better idea of what your message model looks like, I can't suggest other ways to do this, other than maybe trying to use TDS instead of CWF.
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