Skip to Content

Binary Attachments - MTOM vs. SOAP with Attachments

Hello everybody,

i am kind of stuck by implementing a soap to proxy scenario! I wanted to use MTOM to transfer the messages together with the attachments, but until now i couldn't find out if this is possible at all using the ws-adapter with backend proxy (version 701)!

I have seen this already:

unfortunately im not a abap coder, but i can see using attachments in proxys should work!

But how? Am i forced to used soap with attachments on sending webservice? If yes, have you got an example for me?

I would appreciate any help!

Thanks in advance,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 13, 2011 at 06:46 AM

    Good morning everybody,

    can anybody help me?

    Kind regards,


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 19, 2012 at 03:12 PM

    Hi Markus,

    were you able to solve your problem? Right now I'm at the same point as you were. I'd be thankful for any hints!

    I also read about the theory of MTOM and SwA and know the theory.

    In the referenced documentation of your link I read that it should be possible to read attachments with a proxy. But there isn't specified what kind of mechanism is supported by an SAP ECC 6.0 (Release 701).

    Best Regards,


    Add comment
    10|10000 characters needed characters exceeded

    • Hi Patrick,

      actually i solved it by encoding our binary attachments in base 64 and use them in special elements within the xml payload. As far as i know, you can only use MTOM while using the WS adapter in combination with an ecc webservice. As our webservice runtime on ECC is not yet fully configured, and performance with webservices is not as good as with proxies, i decided not to use it.

      I think an alternative would be to use SwA and forward the attachment to the ecc proxy. Then i guess you should be able to get the attachment using the help of my link. Please give some feedback if you try it.

      Kind regards,