on 08-25-2010 11:13 AM
Hi
I'm using the following values in my module tab -
Module name - AF_Modules/PayloadSwapBean
Module key - swapbean
This is the sequence of the Module Configuration -
swapbean | swap.keyName | Content-Disposition
swapbean | swap.keyName | Content-Description
swapbean | swap.keyValue | attachment;filename="MailAttachment-1.xls"
swapbean | swap.keyValue | MailAttachment-1
Thanks
swapbean | swap.keyValue | attachment;filename="MailAttachment-1.xls"
You have to convert the message into XML as well.....so have you included any other module to do so?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The PayloadSwap Bean wont convert the xls attachment into XML....it will just ensure that the attachment is passed as main payload to the mapping program.
You have to convert the xls content into XML and then only it will be processed....you have to write a module for this.
There would be a blog on how to read an Excel file using a module.
Is there no way of doing this?
Of course there is a way
Maybe i could put the swap bean on my file receiver adapter?
No, if it is file to mail, use the module in at mail sender channel only.
Try only this in your module parameter.
swapbean | swap.keyName | payload-name
swapbean | swap.keyValue | MailAttachment-1
Regards,
Prateek
I notice my MONI messages are different as well. They dont show me the payload at all just the response message. Is there something wrong in my config or perhaps the sequence of the swapbean paramters?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.