Skip to Content
author's profile photo Former Member
Former Member

How to combine multiple payload documents into 1?

Hi, I have a response message from Axis webservice which contains multiref. The message is now visible via SXMB_MONI but it has multiple documents under Payload e.g:






Each document contains just 1 multiref part.

The problem now is that the message mapping only works on the first document, but the info required is found in various other documents (multirefs).

I have read the SAP Axis FAQ. I think it only says that XI can receive and transmit multiref documents, but it does not mention how to handle this in message mapping.

Read another thread about PayloadSwapBean - but this can only swap 1 payload document. I would need multiple payload documents.

Question :

Is there any simple method that can combine the multiple payloads into 1 payload?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2010 at 09:14 AM


    Are you using PI ? There are new attachment manipulation APIs available that you could you to "merge" them into one single payload (using a custom adapter module maybe?) ...

    The Message interface provides methods to enumerate attachments, etc

    Hope this helps


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Chris for reply. We are currently on XI 3.0, yet to upgrade to PI.

      Do you know if customised adapter module would do it for XI 3.0? I'm going thru some documentation on this but hv no experience in this area.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.