on 01-30-2012 2:53 PM
Hi
i have a problem with a filecontentconversion in the file sender adapter.
my incoming csv has the following structure:
ID,name,,,,,,,email,tel,,,,,
in the xml that i am processing i would just need a structure
<rootnode>
<user>
<ID></ID>
<name></name>
<email></email>
<tel></tel>
</user>
</rootnode>
i would like to ignore the rest of the fields.
can anybody tell me if its possible to make a conversion like this or do i have to define a structure where all elements are included ?
thanks ,
martin
not possible using standard FCC.
you can either ignore these fields in the mapping or write and adapter module to handle it at the adapter level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Martin
There is an alternative for the FCC parameters where you can use an adpater module.
This way you can read the file and use only those fields you require.
Sourabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
In the data type for your sender Service Interface, just set the occurrence of your optional fields to 0..1. Thanks to this, they will not be created by FCC for empty values from a file, which is what you want to achieve.
Hope this helps,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.