on 01-15-2009 3:10 PM
Hi,
Let me explain my scenario first, it is simple but not properly explained in many blog..
I need to fetch a Zipped file( Input.zip), unzip it (contains a Input.xml file ) & map, send it to another file server.
In my Sender CC I have added the following in modules
AF_Modules/PayloadSwapBean Local Enterprise Bean Transform
AF_Modules/PayloadZipBean Local Enterprise Bean Unzip
CallSapAdapter Local Enterprise Bean 0
Transform swap.keyName payload-name
Transform swap.keyValue attachment;filename="Input.xml"
Unzip Unzip.Mode unzip
Source Directory in Sender CC points to zip file
My expectation is that, a new attachment is created during unzip, it is pointed as payload because of PayloadSwapBean.
After executing, it shows parser error in sxmb_moni, when I click the payload in in sxmb_moni, a popup comes asking me to save the zip file, it proves that the file is not unzipped & attached as new payload.
Need your help .
Thanks,
Sridhar
> Unzip Unzip.Mode unzip
It should be: zip.Mode
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The parameters of the swap bean seems incorrect.
You can check the name of the payload and the attachments in the SXMB_MONI. Use that name.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
Your suggestion looks good, when In checked in SXMB_MONI under payload
it showed MainDocument(application/xml)...when I clicked it asked 'Do you want to save the file' & showed the file name as 25c4850_1827HTML000007, file type as WinRAR ZIP archive...
Do you want to use this has file names ?
moreover I think the 25c4850_1827HTML000007 will change if I try to execute again ...
Can you clarify me ?
Thanks,
Sridhar
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.