Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

StrictXml2Plain Bean error

$
0
0

Hello Experts,

 

I am using StrictXml2Plain Bean in SFTP-Adapter.

And I am getting error.

 

Here the XML structure I use:

 

<MT_Addenda>

  <HeaderDetails>

    <Field1>wert1</Field1>

    <Field2>wert2</Field2>

  </HeaderDetails>

<Items>

  <Item>

    <fieldA>wertA</fieldA>

    <fieldB>wertB</fieldB>

    <fieldC>wertC</fieldC>

  </Item>

  <Item>

    <fieldA>wertX</fieldA>

    <fieldB>wertY</fieldB>

    <fieldC>wertZ</fieldC>

  </Item>

</Items>

</MT_Addenda>

 

I want to produce the following text file:

 

wert1;wert2

wertA;wertB;wertC

wertX;wertY;wertZ

 

 

I configured the StrictXml2Plain Bean as follows:

 

recordType                                 HeaderDetails,Item
HeaderDetails.fieldSeparator';'
HeaderDetails.endSeparator'nl'
Item.fieldSeparator';'
Item.endSeparator'nl'

 

Now I get the following error in SFTP Adapter monitor:

"com.sap.aii.af.app.modules.conversion.xml2plain.ConversionException: Invalid structure name encountered during conversion: Items at XML element MT_Addenda,Items."

 

What is the issue here?

 

Thanks

Elko


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>