Hi Folks,
we are currently working on a ECC-->XI-->Webservice scenario where we are send an attachment to the webservice. The problem we are encountering is the webservice is rejecting the message due to the reason that the attachment appears before the payload in the MIME message. The expectation is the Payload data should be at the first place & the attachment should be at the end in the mime message.
I also researched a lot on SDN & checked the below forums & blogs
http://scn.sap.com/thread/360001
Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway
http://scn.sap.com/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
Also tried using PayloadSwapBeans, Kindly help.
Regards,
Santosh