Skip to Content
avatar image
Former Member

SOAP Attachment and Payload Sequence Issue

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 20, 2014 at 12:55 PM

    Hi Santosh,

    I haven't clear what is the composition of your SOAP Message. Have you think to create all your message via java mapping and later to check Do not use SOAP envelope?, i know it is harder to develop but i think they wont have any problem finally.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Gagandeep Batra

      Hi Gagan,

          Yes I tried the PayloadSwapBean, followed the below blog

      xi-sender-mail-adapter--payloadswapbean--step-by-step

      will appreciate you inputs on this. or an appropriate way of using the payload swapbean.

      Regards,

         Santosh