on 07-10-2006 11:21 AM
Hi All,
I have a Header and Detail node each containing some sub elements. My requirement is that one header and multiple Detail will be coming as input. For this requirement how should I set the Occurence in Data Type?
Previously I had every thing as 1(Both min & max). Now I changed the Detail occurence to 0..1.
Still only one Detail is produced as target.
Any pointers in this issue?
Any docs or blog reference would be of great help.
Thanks & Regards,
Jai Shnakar.
Hi Jai,
<i>Previously I had every thing as 1(Both min & max). Now I changed the Detail occurence to 0..1.
Still only one Detail is produced as target.</i>
Cross check if you have changed the occurence in both the Source and Target datatype and activate the same.
Also, actiave the datatype and reload the datatype into your Message Type and activate the same.
regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
My both my source and target data types have Header and Detail nodes. My input is one header and multiple Detail nodes. I do not split my msg. I have set Header,1,Detail,* in ID sende comm. channel.
I beleive this has to do some thing with Occurence.
Any inputs on this are most welcome.
Regards,
Jai Shankar.
Hi,
Check you source message are you getting all the detail records. If you are getting all the detail records then there is no problem with the content conversion and the problem might be with the occurence or mapping.
If content conversion is fine then you try giving the occurence for detail as 0.. unbounded. You can also refer to the post by Vijaya. Also check if your mapping is proper.
Thanks,
Prakash
You have one source msg with one header and many details and you want the same thing in target...for that all that you need to is make sure the occurence of the detail node in target data type is 0-unbounded...if its not working..do a cache refresh, activate all the objects and try again..
-Sushumna
Hi,
Did you check if you are getting proper source message. Check in SXMB_MONI if you are getting all the detail records. If not then the problem is with the content conversion. For more details on content conversion refer this blog /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
Thanks,
Prakash
Hi,
My Inbound XML msg has all the Detail nodes in it. After conversion the XML msg contains only the first Detail node. Earlier occurence of detail was 1..1. Now I had set it to 0..unbounded. Yet I can see only one detail node even in the mapping test option in IR itself.
Thanks & Regards,
Jai Shankar.
Hi Jai,
Is this an n:1 mapping?? Do you need to split your incoming payload? Explain your requiremnt a little more in detail..
-Sushumna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.