on 04-29-2008 2:13 PM
Hi,
I have a mapping requirement like this :
source structure
200 , 7
200 , 8
200 , 9
200 , 10
I have to map it to the target structure which is like below:
<tms_map> 1:1
field 1 1:1
field 2 1:1
</tms_map>
Can any body suggest how to map it.
Thanks & Regards
Prabhat
Hi,
If you have fixed number of input as u mentioned
200 , 7
200 , 8
200 , 9
200 , 10
then duplicate target structure four times i.e. your tms_map and then do 1 to 1 mapping(right click duplicate)
Without 0..unbounded occurance it is not possible to map 1 to 1 directly i think u have to duplicate target field.
i think this will solve your problem.
Regards,
Rohit.
Reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Any solution????
Regards
Prabhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
it's related to file to SOAP scenario.
I have a source structure say :
200 (field 1) , 7 (field2)
200 (field 1) , 8 (field2)
200 (field 1) , 9 (field2)
200 (field 1), 10 (field2)
Now using file adapter I pick up the file but I have to generate only one SOAP request for the multiple records.
At traget the structure is:
<tms_map> 1: 1 occurence
field 1 1: 1 occurence
field 2 1: 1 occurence
</tms_map>
How to achive it using mapping so that for multiple records of source only one soap request should go.
I cheked with multimapping but it was not generating the output structure.
Thanks & Regards
Prabhat
Therefore source
> Now using file adapter I pick up the file but I have to generate only one SOAP request for the multiple records.
>
> At traget the structure is:
> <tms_map> 1: 1 occurence
> field 1 1: 1 occurence
> field 2 1: 1 occurence
> </tms_map>
>
> How to achive it using mapping so that for multiple records of source only one soap request should go.
Hi,
You need to make some changes in your target structure as mentioned below:
<tms_map> 1: 1 occurence
-
< records > 0...unbound
-
field 1 1: 1 occurence
-
field 2 1: 1 occurence
-
</ records >
</tms_map>
I don't know your source sturcutre but in my opinion it should be exactly same as your target structure.
if structures are not same then create them and do 1:1 mapping.
How you are picking the file? Are you using FCC?
Regards,
Sarvesh
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.