Skip to Content
avatar image
Former Member

Payload as Attachment

Hi

Please clarify whether payload can be sent as an attachment via soap, if yes, what is the significance and steps associated for mapping.

Regards,

B.Anandh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 09, 2007 at 12:06 PM

    Yes SOAP adapter does support attachments.

    The mapping can be done on either the attachment or the main payload. if you want the mapping to be done on the attachment you need to use the PayloadswapBean to swap the payload and the attachment and then the mapping will happen on the attachment. ( which after the payload swap bean would have become the main payload)

    Regards

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

    • What should be the main SOAP message in this case?

      The attachments have to be provided beore, that means you need a sender channel which is able to create attachments. That can be proxy or file and soap adapter.

      Another option is: Create the attachment with an self-written adapter module.

      Regards

      Stefan

  • avatar image
    Former Member
    Apr 09, 2007 at 12:27 PM
    Add comment
    10|10000 characters needed characters exceeded