cancel
Showing results for 
Search instead for 
Did you mean: 

Unzipping

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Amit !!

Check this thread:

or

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.

Former Member
0 Kudos

Hi Matias,

Thanks for your reply

But this module 'SendBinarytoXIJMSService' is present incase of JMS Receiver adapter.

I am facing a problem with JMS sender adapter

Former Member
0 Kudos

Hi Amit !

You are right. I think you should call the PayloadZipBean just before the CallSapAdapter module.

Regards,

Matias.

Former Member
0 Kudos

Hi Matias,

Have tried the same.Its not picking the file from MQ.

Got following error in Comm Channel monitoring:

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))

Former Member
0 Kudos

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))