IBM BPM, V8.0.1, All platforms > Get started with IBM BPM > Key concepts > Bindings > Binding types > Web service bindings

Attachments in SOAP messages

You can send and receive SOAP messages that include binary data (such as PDF files or JPEG images) as attachments. Attachments can be referenced (that is, represented explicitly as message parts in the service interface) or unreferenced (in which arbitrary numbers and types of attachments can be included).

A referenced attachment can be represented in one of the following ways:

An unreferenced attachment is carried in a SOAP message without any representation in the message schema.

In all cases, except MTOM attachments, the WSDL SOAP binding should include a MIME binding for attachments to be used, and the maximum size of the attachments should not exceed 20 MB.

To send or receive SOAP messages with attachments, use one of the web service bindings based on the Java™ API for XML Web Services (JAX-WS).

Web service bindings