cancel
Showing results for 
Search instead for 
Did you mean: 

Process different structure in receiver file adapter

Former Member
0 Kudos

Hi, all XI&PI masters

We have a trouble of processing a file in receiver file adapter, converting to tab deliminated file.

Scenario: Proxy to File

We've configured PI to process following data and we've got flat file successfully.

<ns1:MT_test_s xmlns:ns="http://...">

<recordset>

<data>

<value1>test1</value1>

<value1>test2</value1>

</data>

</recordset>

<info>

<value1>test0</value1>

</info>

<ns1:MT_test_s>

We also want to process a data without <data> structure below.

So we've already set occurence of recordset and zsdata to 0..unbound.

However, we are getting an error from receiver file adapter, since there is the recordset structure.

(No problem if recordset is not included...)

<ns1:MT_test_s xmlns:ns="http://...">

<recordset/>

<info>

<value1>test0</value1>

</info>

<ns1:MT_test_s>

Please help me if anyone know how to solve this problem.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

create your target data type without the recordset node.

Then do the mapping from source to target and configure your scenario.

This is the ideal solution

/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts

Former Member
0 Kudos

Thanks a lot.

Answers (0)