This topic applies only to the IBM Business Process Manager Advanced configuration.

How to choose the appropriate attachment style

When designing a new service interface that includes binary data, consider how that binary data is carried in the SOAP messages that are sent and received by the service.

Message Transmission Optimization Mechanism (MTOM) should be used for attachments if the connected web service application supports it. If not, the following diagram shows how other attachment styles are chosen. Use the following set of questions to determine the appropriate attachment style:

A set of questions helps you determine which type of attachment to use. For example, if you want to define specific elements in the interface that represent the attachment and you require document/literal wrapped style, use wsi:swaRef typed attachments.