Skip to Content
avatar image
Former Member

Unzipping

Have a scenerio in which source is a zip file

The zip files contains xml files

Sender Adaper : JMS

Have to unzip the file in Sender adaper.

There is a standard module which meets this functionality.

Module Name: AF_Modules/PayloadZipBean(Sap Note:965256)

I have tried the same and it worked sucessfully when the sender adapter was file adapter.But not working with JMS

Just want to know whether the same can be used for JMS adapter as well.

If yes, where do i have to place in the module(in module tab in channel configuration).Following are the modules present by default in JMS adapter:

1)ConvertJMSMessageTOBinary

2)ConvertBinaryToXMBMessage

3)CallSSapAdapter

Currently i am using the following configuration:

Module name: AF_Modules/PayloadZipBean

Module key:zip

Parameter Name: zip.mode

Parameter Value: unzip

Message was edited by:

Amit Chandnani

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 06, 2007 at 01:38 PM

    Hi Amit !!

    Check this thread:

    JMS Receiver MQSeries with zipped payload

    or

    jms-receiver-mqseries-with-zipped-payload

    It talks about using....

    In the JMS receiver channel you click on the module tab. Here you add for the module SendBinarytoXIJMSService the Parameter JMSMessageType with value Bytes.

    To make the /PayloadZipBean to work.

    Regards,

    Matias.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Amit,

      Did you slove this problem.Error while processing message 'f2ac00f0-2c65-11dc-cb28-001125c00641'; detailed error description: com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Could not begin a AF transaction: TxManagerException: Unable to open transaction: com.sap.engine.services.ts.exceptions.BaseSystemException at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java(Compiled Code))

  • avatar image
    Former Member
    Jul 07, 2010 at 01:44 PM

    Hi Amit,

    as you said you have used adapter module of zipping the files with file sender adapter and it worked for you.

    can you pls tell me after giving the Module "processing sequence" & Module Configuration where do you define that after unzipping all .txt or .xml files where to place, which folder.

    I am missing the step where we need to mention where it will perform unzip action and place all .txt files. Once this sender file adapter will place all .txt files to a specified folder we will go to the next step for content conversion and send the files for mapping.

    pls help me in getting those parameters to define.

    -SS

    Add comment
    10|10000 characters needed characters exceeded