Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

problems with MessageTransformBean SimpleXML2Plain

$
0
0

 

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


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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