cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Attachment and Payload Sequence Issue

Former Member
0 Kudos

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


http://scn.sap.com/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--...

Also tried using PayloadSwapBeans, Kindly help.

Regards,

   Santosh

Accepted Solutions (0)

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi Inaki,

    Thanks for replying. My attachment is generated through ABAP proxy and then transferred to the Webservice via XI. In the XI system I can see the order of the Payload & attachment as attachment on the top and Payload below rather I want it in the reverse way.

I am not comfortable with Java so java mapping is not an option.

Regards,

   Santosh

gagandeep_batra
Active Contributor
0 Kudos

Did you try with message swap bean with content disposition also?

Regards

Gagan

Former Member
0 Kudos

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