Skip to Content
avatar image
Former Member

Zip file receiver

Hi Experts,

Good day!

Can you please suggest me for receiver file adapter. I would like to send a file as zip format. This is first time I am doing the zip file scenario using file adapter. While sending I am getting following error.

Success File adapter receiver: processing started; QoS required: ExactlyOnce 2009-08-03 12:07:13

Success File adapter receiver channel CC_SapIsuToEservices_File1: start processing: party " ", "BS_SapIsuToEservices"

2009-08-03 12:07:13

Success Connecting to FTP server "168.89.135.133"

2009-08-03 12:07:13

Success Transfer: "BIN" mode, size 363 bytes, character encoding -

2009-08-03 12:07:13

Success Write to FTP server "168.89.135.133", directory "/Venusw/west", file "SAPISU_BILLING20090803-120713- 703.zip" 2009-08-03 12:07:13

Error Attempt to process file failed with 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)'

2009-08-03 12:07:13

Error MP: Exception caught with 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

Reagadrs

Surya.R

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 03, 2009 at 12:45 PM

    Hi Surya,

    Cn you provide us teh parameters which you used for this receiver Communication Channel?

    Also refer my blog :

    /people/suraj.sr/blog/2009/07/21/zip-multiple-files

    Regards

    Suraj

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 03, 2009 at 11:06 AM

    Hi ,

    -->This can be achieved by using defalut module PayLoadZipBean,Using this we can zip the files.

    -->In the receiver communication channel under module tab maintain this modules before the defalut call sap adapter and under module caonficuration at the parameter value maintain zipAll.

    Note: the module which you maintained are case senstive maintain the proper name.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 03, 2009 at 11:08 AM

    Make sure that the Module key parameters and other settings are as per this blog

    /people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Prateek,

      I am also getting same error, i configured same as it is in the blog, still i am getting this error.

      Attempt to process file failed with 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)'

      Can you please help me what was the wrong