Skip to Content
0
Former Member
Dec 12, 2013 at 04:34 PM

problems with MessageTransformBean SimpleXML2Plain

1067 Views

Hi folks!

We have a PI 7.31 SP6 and I try to use the MessageTransformBean in a File Receiver Adapter (Metadata as of 7.11) to transform XML to flat data.

XML looks like this:

Root tag and then ...

onlz one Tag franz that contains: 123456789abcdefghijklmnopqrstuvwxyz

Expected Result in receiver file is:

123456789abcdefghijklmnopqrstuvwxyz

Module Configuration is as follows:

XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion

XML2Plain Transform.ContentType text/plain;charset=utf-8

XML2Plain xml.addHeaderLine 0

XML2Plain xml.conversionType SimpleXML2Plain

XML2Plain xml.endSeparator 'nl'

XML2Plain xml.fieldSeparator ;

Real result is an empty file of length 1.

Part of Message Protocol:

Zustellung an Kanal: SAPERP100_PoC_MQ_PI_201312_File_Receiver

Transform: using Transform.Class: com.sap.aii.messaging.adapter.Conversion

MP: processing local module localejbs/AF_Modules/MessageTransformBean

Transform: transforming the payload ...

Transform: successfully transformed

File-Adapter-EmpfÀnger eingegeben. Verarbeitung gestartet. Benötigte QoS: ExactlyOnce

MP: processing local module localejbs/CallSapAdapter

EmpfÀngerkanal SAPERP100_PoC_MQ_PI_201312_File_Receiver des File-Adapters: Verarbeitung beginnt; Partner " " / Service "SAPERP100Dev"

Schreiben in Datei "/FTPSAP/EX1/001/PI/000_TRAIN/PoCMQPI_201312_OUTPUT/mq20131212-164535-398.xml" als binĂ€r, GrĂ¶ĂŸe 1 Bytes

Dateiverarbeitung beendet

Message wurde erfolgreich zum Endpunkt ĂŒbertragen ĂŒber JMS_http://sap.com/xi/XI/System

Message-Status auf DLVD gesetzt

What's going wrong here?

Thanx!

Regards,

Volker