Skip to Content
avatar image
Former Member

Problem: Original Attachment Name from SOAP Sender changes to attachment-1

Hi everybody,

we have a scenario where a SOAP sender receives a xml message describing several documents. Each document has a mime type and a file name, size, md5 checksums etc as attributes.

The documents are send as attachments with the same Web service in SWA(SOAP with attachment style).

The web service calls an ABAP proxy provider class in a R/3 backend.

The ABAP proxy class will save the attached documents for further processing and must use the original document names.

At the soap communication channel monitoring(Java Stack) we still see the original attachment names in the message content tab.

At the Integration Server(sxmb_moni) the attachment name changes to attachment-1, attachment-2 and so on.

Using the method


in the provider ABAP proxy class returns the name attachment-1.

We can see that there is a mapping of the new attachment-1 name to the old, original name in the manifest section of this message on the Integration server.

Is there a way to access the manifest section at a provider ABAP proxy class? Or otherwise a PI configuration setting to preserve the original attachment names.

Thanks a lot,


=> PI 7.1 SP9

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 09, 2010 at 11:11 AM

    I don't think there is a solution for this as all HTTP header fields like content-type are removed when the message enters the Integration server.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 09, 2010 at 11:36 AM

    Hi Stefan,

    (I was hoping you would find that thread ...)

    I see a good reason why the attachment names are changed as the PI message protocol sends the main document as an attachment as well. So no problem with that because the information of the mapping old to new names still exists in the manifest part and is visible at the sxmb_moni.

    We see a manifest part like this (Sorry cant post the whole xml doc as the formatting for longer messages isn't working in the forum)

    <SAP:Payload xlink:href="cid:4cc43edd-839f-423f-b7c6-7e44294d663a_sig.p7m">

    The (red) cid entry is the original file name. This manifest is from the sxmb_moni in the r/3 backend. So all the information is there.. The question is how to retrieve this information .. Any idea?

    Best Regards,

    Heiko Bergmann

    Add comment
    10|10000 characters needed characters exceeded