ГОСТ Р ИСО/МЭК 29362—2013
Результирующее исходящее сообщение операции "SendClaim" для rpc/literal:
MIME-Version: 1.0
Content-Type: text/xml: charset=UTF-8
<?xml versions’1.O’ ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/”
>
<SOAP-ENV:Body xmlns:types="
http://example.corrb’mimetypes,’
>
<types:SendClaimResponse>
<ClaimRefNo>.............................</ClaimRefNo>
<rtypes:SendClaimResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
ПРАВИЛЬНО:
Описание WSDL для связывания document/litoral
<?xml version="1.0" encoding="utf-8* ?>
<wsdl:definitions xmlns:types="
http://example.com/mimetypes
"
xmlns:ref="
http://ws-i.org/profiles/basic/1.1
/xsd*
xmlns:xsd=*
http://www
.w3.org/2001/XMLSchema"
xmlns:soapbind=,’
http://schemas.xmlsoap.org/wsdl/soap’,’
xmlns:wsdl=-
http://schemas.xmlsoap.org/wsdl/*
xmlns:mime=*
http://scbemas.xmlsoap.org/wsdl/mimer
targetNamespace=’
http://example.com/mimewsdr
xmlns:tns="
http://example.corn/mimewsdr’>
<wsdl:types>
<xsd:schema targetNamespace="
http://exampte.com/mimetypes"
xmlns:xsd=’
http://www.w3.org/2001/XMLSchema"
>
<xsd:imporl namespace=Hhttp7/ws-i.org/profiles/basic/1.1/xsd" />
<xsd:element name=’ClaimDetail” type=*types:ClaimDetailType7>
<xsd:complexType name="ClaimDetailType">
<xsd:sequence>
<xsd:element name="Name" type="xsd:string7>
<xsd:element name-’ClaimForm* type="ref:swaRef7>
</xsd:sequence>
</xsd:complexType>
<xsd:element name=*ClaimRefNo" type="xsd:string7>
</xsd:schema>
</wsdl:types>
<wsdl:message name=*Claimln">
<wsdl:part name-’body" elGment="types:ClaimDetail7>
<wsdl:part name="ClaimPhoto" type="xsd:base64Binary7>
</wsdl:message>
<wsdl:message пате=*С1а1тОиГ>
<wsdl:part пате-’оиГ element=*types:ClaimRefNo7>
</wsdl:message>
<wsdl:portType name=”ClaimPortType’>
<wsdl:operation name=*SendClaim">
<wsdl:input message="tns:Claimln7>
<wsdl:output message="tns:ClaimOut7>
<Avsdl:operation>
</v/sdl:portTypo>
<wsdl:bmding name="ClaimBinding* type="tns:ClaimPortType*>
13