XML - статьи



              

Описание вложений - часть 3


<wsdl:message name="msg-in-doc"> <wsdl:part name="photo-reference-wrapper" element="types:my-operation"/> <wsdl:part name="photo-attachment" type="xsd:base64Binary"/> </wsdl:message> <wsdl:message name="msg-out-doc"> <wsdl:part name="result-wrapper" element="types:my-operationResponse"/> </wsdl:message>

<wsdl:portType name="my-portType-doc"> <wsdl:operation name="my-operation-doc"> <wsdl:input message="tns:msg-in-doc"/> <wsdl:output message="tns:msg-out-doc"/> </wsdl:operation> </wsdl:portType>

<wsdl:binding name="my-binding-doc" type="tns:my-portType-doc"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="my-operation-doc"> <soap:operation soapAction="http://example.com/soapaction"/> <wsdl:input> <mime:multipartRelated> <mime:part> <soap:body parts="photo-reference-wrapper" use="literal"/> </mime:part> <mime:part> <mime:content part="photo-attachment" type="application/octetstream"/> </mime:part> </mime:multipartRelated> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding>




Содержание  Назад  Вперед