on 03-12-2010 11:42 AM
Hello Experts,
I tried a simple File to Mail scenario with the following test message and received the expected attachment:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_TEST_FlatMessage xmlns:ns0="urn:lynx.de:pi:test:bw_extractor">
<elemente>
<Kundennummer>4711</Kundennummer>
<RechnungsNr>0001</RechnungsNr>
<Umsatz>234,67</Umsatz>
<Anzahl>34</Anzahl>
<Versand>12,00</Versand>
<PosNr>0001</PosNr>
</elemente>
<elemente>
<Kundennummer>4711</Kundennummer>
<RechnungsNr>0002</RechnungsNr>
<Umsatz>1900,25</Umsatz>
<Anzahl>100</Anzahl>
<Versand>50</Versand>
<PosNr>0002</PosNr>
</elemente>
</ns0:MT_TEST_FlatMessage>
Everything is fine. Now I want to transform the message in a CSV-Attachment and joined the Module
1 AF_Modules/StrictXml2PlainBean Local Enterprise Bean 0
as first entry in the sequence with the following configuration:
Key Parameter Value
0 addHeaderLine fromXML
0 elemente.endSeparator \r\n
0 elemente.fieldSeparator ;
0 singleRecordType elemente
But now I the adapter gets the error: Premature end of file
What did I wrong?
Hi Dirk,
Did you resolve this issue? I'm getting exactly the same.
Thanks.
Carlos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> as first entry in the sequence with the following configuration:
>
> Key Parameter Value
> 0 addHeaderLine fromXML
> 0 elemente.endSeparator \r\n
> 0 elemente.fieldSeparator ;
> 0 singleRecordType elemente
>
>
> But now I the adapter gets the error: Premature end of file
>
> What did I wrong?
try
0 elemente.endSeparator 'nl'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the idea, but the problem is the same as before:
Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: org.xml.sax.SAXParseException: Premature end of file..
Edited by: Dirk Koch on Mar 12, 2010 1:09 PM
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.