Skip to Content

Payload Zip bean

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Feb 12, 2010 at 09:56 AM

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

    Use MessageTransformBean to do the FCC and then use the PayloadZipBean

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2010 at 09:53 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.