Skip to Content
0
Former Member
Jan 05, 2007 at 03:30 PM

file receiver adapter with the same filename than sender

28 Views

Hi guys,

I am experiencing a problem when I use the <b>Adapter Specific Message Properties</b> to be able to receive a file with the same name as the sender.

I've been following the example of Michal Krawczyk (XI: The same filename from a sender to a receiver file adapter - SP14) but i get a problem related with the content converter parameters.

The error I receice in the File Adapter is the next:

<i>Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters!</i>

I have been trying to do all the combinations with the content conversion parameters but the result is allways the same, MORE FIELDS FOUND IN XML ....

My XML structure is the next:

<ns0:MT_MDFranceN xmlns:ns0="urn:s-n:HR:MasterDataFrance">

<lines>

<line>

<header/> 1..1

<data/> 0...unbound

</line>

</lines>

</ns0:MT_MDFranceN>

In the header I write the name of the file with the code provided by SAP and Michal, so the name of the file is stored there.

any help?

Thanks!!!!!