ГОСТ Р ИСО/МЭК 29362—2013
<soapbind:binding style=’document"
1гап8роП=иЬПр://8сЬета8.хт18оар.огд/8оар.’Ттр7>
<wsdloperation name="SendClaim">
<soapbind:operation soapAction="
http://example.com/soapaction7>
<wsdl:input>
<mime:multipartRelated>
<mime:part>
<soapbind:body parts-’body” use=*literal7>
</mime:part>
<mime:part>
<mime:content part="ClaimPhoto" type="image/jpeg’7>
</mime:part>
</mime:multipartRelated>
</wsdl:input>
<wsdl:output>
<soapbind:body use="literar />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:defmitions>
Результирующее входящее сообщение операции "SendClaim" для document/literal:
MIME-Version: 1.0
Content-Type: Multipart/Related; boundary=MIME_boundary; type=text/xml:
start="<
rootpart@example.com
>"
Content-Description: Это необязательное описание сообщения.
-MIME_boundary
Content-Type: text/xml: charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID: <
rootpart@example.com>
<?xml version=’1.0’ ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV=’
http://schemas.xmlsoap.org/soap/envelope/’’>
<SOAP-ENV:Body xmlns:types=*httpJ/example.com/mimetypes">
<types:ClaimDetail>
<Name>...</Name>
<ClaimForm>cid:claimform@example.com</ClaimFonm>
</types:ClaimDetail>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
-MIME_boundary
Content-Type: text/xml
Content-Transfer-Encoding: 8bit
Content-ID: <
claimform@example.com
>
... Форма претензии, на которую указывает ссылка swaRef...
-MIME_boundary
Content-Type: image/jpeg
Content-Transfer-Encoding: binary
Content-ID: <ClaimPhoto=
4d7a5fa2-14af-451c-961b-5c3abf786796@example.com
>
... Вложение MIME цифровой фотографии в двоичном представлении ..
-MIME_boundary-
Результирующее исходящее сообщение операции "SendClaim" для document/literal:
MIME-Version: 1.0
Content-Type: text/xml; charset=UTF-8
<?xml version-1.0’ ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV=’
http://schemas.xmlsoap.org/soap/envelope/"
>
14