1<?xml version="1.0" encoding="utf-8"?> 2<wsdl:definitions name="SOAPBuilders" 3 xmlns="http://soapinterop.org/attachments/wsdl" 4 xmlns:types="http://soapinterop.org/attachments/xsd" 5 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 6 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 7 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 8 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 9 xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" 10 targetNamespace="http://soapinterop.org/attachments/wsdl"> 11 <wsdl:types> 12 <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/attachments/xsd"> 13 <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> 14 <complexType name="ArrayOfBinary"> 15 <complexContent> 16 <restriction base="soap-enc:Array"> 17 <attribute ref="soap-enc:arrayType" wsdl:arrayType="soap-enc:base64Binary[]"/> 18 </restriction> 19 </complexContent> 20 </complexType> 21 </schema> 22 </wsdl:types> 23 <wsdl:message name="EchoAttachmentIn"> 24 <wsdl:part name="In" type="xsd:base64Binary"/> 25 </wsdl:message> 26 <wsdl:message name="EchoAttachmentOut"> 27 <wsdl:part name="Out" type="xsd:base64Binary"/> 28 </wsdl:message> 29 <wsdl:message name="EchoAttachmentsIn"> 30 <wsdl:part name="In" type="types:ArrayOfBinary"/> 31 </wsdl:message> 32 <wsdl:message name="EchoAttachmentsOut"> 33 <wsdl:part name="Out" type="types:ArrayOfBinary"/> 34 </wsdl:message> 35 <wsdl:message name="EchoAttachmentAsBase64In"> 36 <wsdl:part name="In" type="xsd:base64Binary"/> 37 </wsdl:message> 38 <wsdl:message name="EchoAttachmentAsBase64Out"> 39 <wsdl:part name="Out" type="xsd:base64Binary"/> 40 </wsdl:message> 41 <wsdl:message name="EchoBase64AsAttachmentIn"> 42 <wsdl:part name="In" type="xsd:base64Binary"/> 43 </wsdl:message> 44 <wsdl:message name="EchoBase64AsAttachmentOut"> 45 <wsdl:part name="Out" type="xsd:base64Binary"/> 46 </wsdl:message> 47 <wsdl:portType name="AttachmentsPortType"> 48 <wsdl:operation name="EchoAttachment"> 49 <wsdl:input name="EchoAttachmentInput" message="EchoAttachmentIn"/> 50 <wsdl:output name="EchoAttachmentOutput" message="EchoAttachmentOut"/> 51 </wsdl:operation> 52 <wsdl:operation name="EchoAttachments"> 53 <wsdl:input name="EchoAttachmentsInput" message="EchoAttachmentsIn"/> 54 <wsdl:output name="EchoAttachmentsOutput" message="EchoAttachmentsOut"/> 55 </wsdl:operation> 56 <wsdl:operation name="EchoAttachmentAsBase64"> 57 <wsdl:input name="EchoAttachmentAsBase64Input" message="EchoAttachmentAsBase64In"/> 58 <wsdl:output name="EchoAttachmentAsBase64Output" message="EchoAttachmentAsBase64Out"/> 59 </wsdl:operation> 60 <wsdl:operation name="EchoBase64AsAttachment"> 61 <wsdl:input name="EchoBase64AsAttachmentInput" message="EchoBase64AsAttachmentIn"/> 62 <wsdl:output name="EchoBase64AsAttachmentOutput" message="EchoBase64AsAttachmentOut"/> 63 </wsdl:operation> 64 </wsdl:portType> 65 <wsdl:binding name="AttachmentsBinding" type="AttachmentsPortType"> 66 <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> 67 <wsdl:operation name="EchoAttachment"> 68 <soap:operation soapAction="http://soapinterop.org/attachments/"/> 69 <wsdl:input name="EchoAttachmentInput"> 70 <mime:multipartRelated> 71 <mime:part> 72 <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 73 </mime:part> 74 <mime:part> 75 <mime:content part="In" type="application/octetstream"/> 76 </mime:part> 77 </mime:multipartRelated> 78 </wsdl:input> 79 <wsdl:output name="EchoAttachmentOutput"> 80 <mime:multipartRelated> 81 <mime:part> 82 <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 83 </mime:part> 84 <mime:part> 85 <mime:content part="Out" type="application/octetstream"/> 86 </mime:part> 87 </mime:multipartRelated> 88 </wsdl:output> 89 </wsdl:operation> 90 <wsdl:operation name="EchoAttachments"> 91 <soap:operation soapAction="http://soapinterop.org/attachments/"/> 92 <wsdl:input name="EchoAttachmentsInput"> 93 <mime:multipartRelated> 94 <mime:part> 95 <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 96 </mime:part> 97 <mime:part> 98 <mime:content part="In" type="application/octetstream"/> 99 </mime:part> 100 </mime:multipartRelated> 101 </wsdl:input> 102 <wsdl:output name="EchoAttachmentsOutput"> 103 <mime:multipartRelated> 104 <mime:part> 105 <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 106 </mime:part> 107 <mime:part> 108 <mime:content part="Out" type="application/octetstream"/> 109 </mime:part> 110 </mime:multipartRelated> 111 </wsdl:output> 112 </wsdl:operation> 113 <wsdl:operation name="EchoAttachmentAsBase64"> 114 <soap:operation soapAction="http://soapinterop.org/attachments/"/> 115 <wsdl:input name="EchoAttachmentAsBase64Input"> 116 <mime:multipartRelated> 117 <mime:part> 118 <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 119 </mime:part> 120 <mime:part> 121 <mime:content part="In" type="application/octetstream"/> 122 </mime:part> 123 </mime:multipartRelated> 124 </wsdl:input> 125 <wsdl:output name="EchoAttachmentAsBase64Output"> 126 <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 127 </wsdl:output> 128 </wsdl:operation> 129 <wsdl:operation name="EchoBase64AsAttachment"> 130 <soap:operation soapAction="http://soapinterop.org/attachments/"/> 131 <wsdl:input name="EchoBase64AsAttachmentInput"> 132 <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 133 </wsdl:input> 134 <wsdl:output name="EchoBase64AsAttachmentOutput"> 135 <mime:multipartRelated> 136 <mime:part> 137 <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> 138 </mime:part> 139 <mime:part> 140 <mime:content part="Out" type="application/octetstream"/> 141 </mime:part> 142 </mime:multipartRelated> 143 </wsdl:output> 144 </wsdl:operation> 145 </wsdl:binding> 146 <wsdl:service name="Round4MIMERPC"> 147 <wsdl:port name="Round4MIMERPCTestSoap" binding="AttachmentsBinding"> 148 <soap:address location="test://" /> 149 </wsdl:port> 150 </wsdl:service> 151</wsdl:definitions> 152