cancel
Showing results for 
Search instead for 
Did you mean: 

Payload Zip bean

0 Kudos

Hi All,

Is it possible to use Payload Zip bean module in Receiver File Adapter with File Content Conversion option?

Iam getting the below error when iam trying to enable the communication channel with with Message Protocol as FCC and using AF_Modules/PayloadZipBean bean together.

Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 50, 4b, 3(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 50, 4b, 3(:main:, row:1, col:3)': java.lang.Exception: Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 50, 4b, 3(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 50, 4b, 3(:main:, row:1, col:3)'

However when i run the same scenario with the below single options, the interface is working fine

Message Protocol: File; Module:AF_Modules/PayloadZipBean -->Worksfine

Message Protocol: File Content Conversion; Module: None -->works fine

From the Audit Log data, it's showing that the channel is trying to zip the file first and then its trying to do the FCC (its erroring out at this stage) when enabling both Zipping and FCC functions together.

Any idea's on how to enable both these options together??

Thanks

Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

dont use the standard FCC in the adapter. this will cause issues.

Use MessageTransformBean to do the FCC and then use the PayloadZipBean

0 Kudos

Shabarish

Thanks for the suggestion.

Using Message transform bean has solved the problem.

Thanks

Pradeep

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pradeep,

Yes u r correct that if u specify both the payloadXipBean and FCC, this problem will arise.

The reason is that the sequence of processing of the inbound payload.

So what i suggest is, in receiver communication channel please change the sequence of processing of adapter modules., once and check it.

first put the File then the AF_Modules/PayloadZipBean.

It will work,not a problem.

If still problem exists pl do post the prblm.

Babu