Skip to Content
0
Former Member
Oct 29, 2009 at 10:07 AM

Process different structure in receiver file adapter

15 Views

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