on 11-05-2007 3:22 PM
Hello all,
I have a mapping issue, I have mapping like the following:
Item 1
- Productname
- Extra Info
Item 2
- Productname
- Extra Info
Item 3
- Productname
- Extra Info
And going to map it. When alle fields are filled in Productname and Extra Info then there is no problem. If for example the field "extra Info" for Item 2 is missing and Extra Info for Item 3 is not missing then I still do not get my Extra Info on Item 3...
Does anyone have an idea???
I constructed a test scenario with the information you give us:
I used the following DT
item cardinality: 1..unbounded
ProductName cardinality: 1..1
ProductInfo cardinality: 0..1
both for source and target MT and I simply created a direct map between the field:
MT_TEST 1..1 -
> MT_TEST 1..1
MT_TEST/item 1..unbounded -
> MT_TEST/item 1..unbounded
MT_TEST/item/ProductName 1..1 -
> MT_TEST/item/ProductName 1..1
MT_TEST/item/ProductInfo 0..1 -
> MT_TEST/item/ProductInfo 0..1
I hope this will help you. For me works well.
Regards,
Salvatore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Koopmann
The only thing u missed is you have not mapped root level node to the target. I mean one level up to "Item". Just map root of the Item in source to root of the Item in the target
******Rewrds point if helpfull
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Koopman,
I don't see any issue, just keep the occurrence same as that of source data type...and test..if your source and target structures are same...
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have u done the mapping test,Take the payload and test the mapping and check the error is coming or not.
Regards,
phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you are talking about mapping I think it is a good idea to explain well which is the data type of the source message and the data type of the target message.
I can only try to infer it.
If I understand well your source DT Type (DT) should be:
Item 1..unbounded (or 1..3)
Productname 1..1
Extra Info 0..1
Could you give us your target DT ?
After you'll give us it we can give you more help.
Salvatore
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.