Passing SOAP messages with attachments through the service integration bus

The service integration technologies support web services that use a SOAP binding to pass attachments in a MIME message.

Before you begin

See the restrictions detailed in 帶有附件的 SOAP 在支援方面的限制.

About this task

The service integration bus supports SOAP messages that contain either old-style attachments (as described in the SOAP Messages with Attachments W3C Note) or attachments that use the Web Services-Interoperability (WS-I) Attachments Profile Version 1.0 (subject to the 帶有附件的 SOAP 在支援方面的限制).

Attachments are carried through the service integration bus and passed to the inbound or outbound service. The content MIME type of each attachment is preserved. When the external target service for an outbound service is deployed to a Java™ API for XML-based Remote Procedure Call (JAX-RPC) compliant server, you can access the attachments on the target service by using the javax.activation.DataHandler handler.

If the bus receives a message that contains attachments, and the bus subsequently rewrites the message, then the generated message uses the same attachment style as the received message. To transform attachments from one style to another, you can use a mediation to modify the message.

For more information, see the following topics:

Procedure


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:16
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tjw_attach
檔名:tjw_attach.html