on 11-15-2013 6:44 AM
Hi
I have a Mail Sender adapter configured to read emails and transform the attached .csv file into XML.
The Sender channel processes the message OK but the payload for my message type contains no body. I have checked that my content conversion parameters are correct by using them in a Sender File Content Conversion channel and the same attached file that I am using in an email attachment will transform just fine. It must be something to do with the way I'm using these modules.
In the Mail Sender comms channel I am using the additional Modules
AF_Modules/PayloadSwapBean
AF_Modules/MessageTransformBean
I have also tried to use just the MessageTransformBean with Transform.ContentDisposition = attachment;filename="COMPETENCYREPORT.csv"
Regardless this also only produces an XML message with no body. This is seen out of the Sender Comms Channel in the RWB.
Why is this so ?
<?xml version="1.0" encoding="utf-8"?>
<ns:mt_Competency xmlns:ns="urn:mycompany.com:LMS:Competency">
</ns:mt_Competency>
Here's one of the different permutations that I've tried;
Had to remove the xml.endSeparator
Now it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Instead of Payload-Name use Content-Description and then check?
PayloadSwapBean swap.keyName Content-Description
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.