Author |
Message
|
vanshulchawla_target |
Posted: Wed Dec 08, 2010 1:32 am Post subject: Issue with transformation in mapping node in MB V 7.0 |
|
|
Apprentice
Joined: 19 May 2010 Posts: 25
|
I am using a code which was developed on MB V 6.0 and we are in process of migrating it on MB V 7.0
The transformation is done using Mapping nodes.
My transformation logic converts from XML to CWF.
One complex type say A is defined as mandatory and all elements ara also mandatory
My message set properties for CWF is defined as Use Default value for missing elements
In case of V 6.0, it creates a tree structure using default values and i get the o/p
In case of MB V 7.0, as i try to put message on output queue, it throws an exception and the reason is because my segment is not created with default values.
Is this an inheretn difference in V 6 and V 7 |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed Dec 08, 2010 6:49 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Seems to me your port from v6 toolkit to v7 toolkit did not happen cleanly.
One way you can verify is use the Mapping node to right click on each field in the output side and create a default value. Just for giggles, see if this creates a work around for you.
If so, go back and create from scratch the flow in v7 toolkit. This would avoid having to specify specific default values for each field.
Post your results and we'll think outside the box again. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
harish_td |
Posted: Wed Dec 08, 2010 5:54 pm Post subject: Re: Issue with transformation in mapping node in MB V 7.0 |
|
|
Master
Joined: 13 Feb 2006 Posts: 236
|
vanshulchawla_target wrote: |
In case of MB V 7.0, as i try to put message on output queue, it throws an exception and the reason is because my segment is not created with default values. |
Are you sure the newly opened message set still has the default values set?
What happens when you re-set the default value in the message set editor? |
|
Back to top |
|
 |
vanshulchawla_target |
Posted: Wed Dec 08, 2010 10:38 pm Post subject: |
|
|
Apprentice
Joined: 19 May 2010 Posts: 25
|
1. We need to migrate the flows and so i cant create it from scratch.
2. I can modify the code or anything till its not breaking.
3. Default values were present and i tried deleting them and re inserting.Same issue
When i create a mesaage set in MB V 7.0 with same setting it works but message set that was created in MB 6 doesnt work the same way wfter importing in MB V 7.
Please help... |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Dec 09, 2010 12:02 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
|
Back to top |
|
 |
|