uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

28.4 SOAP Messages with attachments (wsi:swaRef format)

The SOAP Messages with attachments use the SOAP Messages with Attachments protocol and are encoded using the MIME Multipart/ Related structure.

The following figure shows the structure of the SOAP Messages with attachments:

Figure 28-4 Structure of SOAP Messages with attachments

[Figure]

The following table describes each part of the SOAP Messages with attachments:

Table 28-4 Description about each part of SOAP Messages with attachments

Name of each part Description
HTTP header This is the header information dependent on the HTTP protocol.
Boundary string of the HTTP header and HTTP body This is a string indicating the boundary of the HTTP header and HTTP body.
HTTP body This describes the message to be sent.
Consists of the root part and attachment part.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Boundary string of the MIME part This is a string indicating the boundary of each MIME part.
Root part This part describes the main message.
Consists of the MIME header and MIME body. One root part is necessarily defined.
 
 
 
 
 
 
MIME header This is the header information of the root part.
Boundary string between the MIME header and MIME body This is a string indicating the boundary between the MIME header and MIME body of the root part.
MIME body This describes the main message.
 
 
 
SOAP Envelope This describes the SOAP Envelope.
 
 
SOAP Header This describes the header information of the SOAP Message.
SOAP Body This describes the SOAP Message text (XML).
Boundary string of the MIME part This is a string indicating the boundary of each MIME part.
Attachment part This part describes the attachment contents.
Consists of the MIME header and MIME body. Define 0 or more attachment parts.
 
 
 
MIME header This is the header information of the attachment part.
Boundary string between the MIME header and MIME body This is a string indicating the boundary between MIME header and MIME body of the attachment part.
MIME body This describes the attachment contents (binary data).
End string of the MIME part This is a string indicating the end of the MIME part.
Organization of this section
28.4.1 Mapping an attachment to a SOAP Message (wsi:swaRef format)
28.4.2 Precautions on mapping from an attachment to a SOAP Message (wsi:swaRef format)
28.4.3 Mapping the SOAP message to the attachment (wsi:swaRef format)