| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<wsdl:definitions |
| 3 |
xmlns="http://schemas.xmlsoap.org/wsdl/" |
| 4 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 5 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 6 |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
| 7 |
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
| 8 |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" |
| 9 |
xmlns:apache="http://xml.apache.org/xml-soap" |
| 10 |
targetNamespace="urn:attachments.wsdl.test" |
| 11 |
xmlns:tns="urn:attachments.wsdl.test"> |
| 12 |
<types> |
| 13 |
<schema |
| 14 |
xmlns="http://www.w3.org/2001/XMLSchema" |
| 15 |
targetNamespace="urn:attachments.wsdl.test"> |
| 16 |
<element name="GetCompanyInfo"> |
| 17 |
<complexType> |
| 18 |
<sequence> |
| 19 |
<element name="tickerSymbol" type="xsd:string"/> |
| 20 |
</sequence> |
| 21 |
</complexType> |
| 22 |
</element> |
| 23 |
<element name="GetCompanyInfo2"> |
| 24 |
<complexType> |
| 25 |
<sequence> |
| 26 |
<element name="result" type="xsd:float"/> |
| 27 |
</sequence> |
| 28 |
</complexType> |
| 29 |
</element> |
| 30 |
</schema> |
| 31 |
</types> |
| 32 |
|
| 33 |
<message name="empty"/> |
| 34 |
<message name="pt1"> |
| 35 |
<part name="body" element="tns:GetCompanyInfo"/> |
| 36 |
</message> |
| 37 |
<message name="pt2"> |
| 38 |
<part name="body" element="tns:GetCompanyInfo2"/> |
| 39 |
<part name="docs" type="xsd:string"/> |
| 40 |
<part name="logo" type="xsd:hexBinary"/> |
| 41 |
</message> |
| 42 |
<message name="pt3"> |
| 43 |
<part name="body" type="xsd:string"/> |
| 44 |
</message> |
| 45 |
<message name="pt4"> |
| 46 |
<part name="out" type="xsd:string"/> |
| 47 |
</message> |
| 48 |
<message name="mmp3"> |
| 49 |
<part name="body" type="xsd:string"/> |
| 50 |
</message> |
| 51 |
<message name="mmp4"> |
| 52 |
<part name="out" type="xsd:string"/> |
| 53 |
</message> |
| 54 |
<message name="EchoAttachmentIn"> |
| 55 |
<part name="In" type="xsd:base64Binary"/> |
| 56 |
</message> |
| 57 |
<message name="EchoAttachmentOut"> |
| 58 |
<part name="Out" type="xsd:base64Binary"/> |
| 59 |
</message> |
| 60 |
|
| 61 |
<portType name="pt1"> |
| 62 |
<!-- |
| 63 |
<operation name="GetCompanyInfo"> |
| 64 |
<input message="tns:pt1"/> |
| 65 |
<output message="tns:pt2"/> |
| 66 |
</operation> |
| 67 |
--> |
| 68 |
<operation name="GetCompanyInfo2"> |
| 69 |
<input message="tns:pt2"/> |
| 70 |
<output message="tns:pt1"/> |
| 71 |
</operation> |
| 72 |
<operation name="inputPlainText"> |
| 73 |
<input message="tns:pt3"/> |
| 74 |
<output message="tns:empty"/> |
| 75 |
</operation> |
| 76 |
<operation name="inoutPlainText"> |
| 77 |
<input message="tns:pt3"/> |
| 78 |
<output message="tns:pt3"/> |
| 79 |
</operation> |
| 80 |
<operation name="echoPlainText"> |
| 81 |
<input message="tns:pt3"/> |
| 82 |
<output message="tns:pt4"/> |
| 83 |
</operation> |
| 84 |
<operation name="outputPlainText"> |
| 85 |
<input message="tns:empty"/> |
| 86 |
<output message="tns:pt3"/> |
| 87 |
</operation> |
| 88 |
<operation name="inputMimeMultipart"> |
| 89 |
<input message="tns:mmp3"/> |
| 90 |
<output message="tns:empty"/> |
| 91 |
</operation> |
| 92 |
<operation name="inoutMimeMultipart"> |
| 93 |
<input message="tns:mmp3"/> |
| 94 |
<output message="tns:mmp3"/> |
| 95 |
</operation> |
| 96 |
<operation name="echoMimeMultipart"> |
| 97 |
<input message="tns:mmp3"/> |
| 98 |
<output message="tns:mmp4"/> |
| 99 |
</operation> |
| 100 |
<operation name="outputMimeMultipart"> |
| 101 |
<input message="tns:empty"/> |
| 102 |
<output message="tns:mmp3"/> |
| 103 |
</operation> |
| 104 |
<operation name="EchoAttachment"> |
| 105 |
<input name="EchoAttachmentInput" message="tns:EchoAttachmentIn"/> |
| 106 |
<output name="EchoAttachmentOutput" message="tns:EchoAttachmentOut"/> |
| 107 |
</operation> |
| 108 |
</portType> |
| 109 |
|
| 110 |
<binding name="b1" type="tns:pt1"> |
| 111 |
<soap:binding style="rpc" |
| 112 |
transport="http://schemas.xmlsoap.org/soap/http"/> |
| 113 |
<!-- |
| 114 |
<operation name="GetCompanyInfo"> |
| 115 |
<soap:operation soapAction="http://example.com/GetCompanyInfo"/> |
| 116 |
<input> |
| 117 |
<soap:body use="literal"/> |
| 118 |
</input> |
| 119 |
<output> |
| 120 |
<mime:multipartRelated> |
| 121 |
<mime:part> |
| 122 |
<soap:body parts="body" use="literal"/> |
| 123 |
</mime:part> |
| 124 |
<mime:part> |
| 125 |
<mime:content part="docs" type="text/plain"/> |
| 126 |
</mime:part> |
| 127 |
<mime:part> |
| 128 |
<mime:content part="logo" type="image/gif"/> |
| 129 |
<mime:content part="logo" type="image/jpeg"/> |
| 130 |
</mime:part> |
| 131 |
</mime:multipartRelated> |
| 132 |
</output> |
| 133 |
</operation> |
| 134 |
--> |
| 135 |
<operation name="GetCompanyInfo2"> |
| 136 |
<soap:operation soapAction="http://example.com/GetCompanyInfo2"/> |
| 137 |
<input> |
| 138 |
<mime:multipartRelated> |
| 139 |
<mime:part> |
| 140 |
<soap:body parts="body" use="literal"/> |
| 141 |
</mime:part> |
| 142 |
<mime:part> |
| 143 |
<mime:content part="docs" type="text/plain"/> |
| 144 |
</mime:part> |
| 145 |
<mime:part> |
| 146 |
<mime:content part="logo" type="image/gif"/> |
| 147 |
<mime:content part="logo" type="image/jpeg"/> |
| 148 |
</mime:part> |
| 149 |
</mime:multipartRelated> |
| 150 |
</input> |
| 151 |
<output> |
| 152 |
<soap:body use="literal"/> |
| 153 |
</output> |
| 154 |
</operation> |
| 155 |
<operation name="inputPlainText"> |
| 156 |
<soap:operation soapAction=""/> |
| 157 |
<input> |
| 158 |
<mime:multipartRelated> |
| 159 |
<mime:part> |
| 160 |
<mime:content part="body" type="text/plain"/> |
| 161 |
</mime:part> |
| 162 |
</mime:multipartRelated> |
| 163 |
</input> |
| 164 |
<output> |
| 165 |
<soap:body use="encoded"/> |
| 166 |
</output> |
| 167 |
</operation> |
| 168 |
<operation name="inoutPlainText"> |
| 169 |
<soap:operation soapAction=""/> |
| 170 |
<input> |
| 171 |
<mime:multipartRelated> |
| 172 |
<mime:part> |
| 173 |
<mime:content part="body" type="text/plain"/> |
| 174 |
</mime:part> |
| 175 |
</mime:multipartRelated> |
| 176 |
</input> |
| 177 |
<output> |
| 178 |
<mime:multipartRelated> |
| 179 |
<mime:part> |
| 180 |
<mime:content part="body" type="text/plain"/> |
| 181 |
</mime:part> |
| 182 |
</mime:multipartRelated> |
| 183 |
</output> |
| 184 |
</operation> |
| 185 |
<operation name="echoPlainText"> |
| 186 |
<soap:operation soapAction=""/> |
| 187 |
<input> |
| 188 |
<mime:multipartRelated> |
| 189 |
<mime:part> |
| 190 |
<mime:content part="body" type="text/plain"/> |
| 191 |
</mime:part> |
| 192 |
</mime:multipartRelated> |
| 193 |
</input> |
| 194 |
<output> |
| 195 |
<mime:multipartRelated> |
| 196 |
<mime:part> |
| 197 |
<mime:content part="out" type="text/plain"/> |
| 198 |
</mime:part> |
| 199 |
</mime:multipartRelated> |
| 200 |
</output> |
| 201 |
</operation> |
| 202 |
<operation name="outputPlainText"> |
| 203 |
<soap:operation soapAction=""/> |
| 204 |
<input> |
| 205 |
<soap:body use="encoded"/> |
| 206 |
</input> |
| 207 |
<output> |
| 208 |
<mime:multipartRelated> |
| 209 |
<mime:part> |
| 210 |
<mime:content part="body" type="text/plain"/> |
| 211 |
</mime:part> |
| 212 |
</mime:multipartRelated> |
| 213 |
</output> |
| 214 |
</operation> |
| 215 |
<operation name="inputMimeMultipart"> |
| 216 |
<soap:operation soapAction=""/> |
| 217 |
<input> |
| 218 |
<mime:multipartRelated> |
| 219 |
<mime:part> |
| 220 |
<mime:content part="body" type="multipart/related"/> |
| 221 |
</mime:part> |
| 222 |
</mime:multipartRelated> |
| 223 |
</input> |
| 224 |
<output> |
| 225 |
<soap:body use="encoded"/> |
| 226 |
</output> |
| 227 |
</operation> |
| 228 |
<operation name="inoutMimeMultipart"> |
| 229 |
<soap:operation soapAction=""/> |
| 230 |
<input> |
| 231 |
<mime:multipartRelated> |
| 232 |
<mime:part> |
| 233 |
<mime:content part="body" type="multipart/related"/> |
| 234 |
</mime:part> |
| 235 |
</mime:multipartRelated> |
| 236 |
</input> |
| 237 |
<output> |
| 238 |
<mime:multipartRelated> |
| 239 |
<mime:part> |
| 240 |
<mime:content part="body" type="multipart/related"/> |
| 241 |
</mime:part> |
| 242 |
</mime:multipartRelated> |
| 243 |
</output> |
| 244 |
</operation> |
| 245 |
<operation name="echoMimeMultipart"> |
| 246 |
<soap:operation soapAction=""/> |
| 247 |
<input> |
| 248 |
<mime:multipartRelated> |
| 249 |
<mime:part> |
| 250 |
<mime:content part="body" type="multipart/related"/> |
| 251 |
</mime:part> |
| 252 |
</mime:multipartRelated> |
| 253 |
</input> |
| 254 |
<output> |
| 255 |
<mime:multipartRelated> |
| 256 |
<mime:part> |
| 257 |
<mime:content part="out" type="multipart/related"/> |
| 258 |
</mime:part> |
| 259 |
</mime:multipartRelated> |
| 260 |
</output> |
| 261 |
</operation> |
| 262 |
<operation name="outputMimeMultipart"> |
| 263 |
<soap:operation soapAction=""/> |
| 264 |
<input> |
| 265 |
<soap:body use="encoded"/> |
| 266 |
</input> |
| 267 |
<output> |
| 268 |
<mime:multipartRelated> |
| 269 |
<mime:part> |
| 270 |
<mime:content part="body" type="multipart/related"/> |
| 271 |
</mime:part> |
| 272 |
</mime:multipartRelated> |
| 273 |
</output> |
| 274 |
</operation> |
| 275 |
<operation name="EchoAttachment"> |
| 276 |
<soap:operation soapAction="http://soapinterop.org/attachments/"/> |
| 277 |
<input name="EchoAttachmentInput"> |
| 278 |
<mime:multipartRelated> |
| 279 |
<mime:part> |
| 280 |
<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 281 |
</mime:part> |
| 282 |
<mime:part> |
| 283 |
<mime:content part="In" type="application/octetstream"/> |
| 284 |
</mime:part> |
| 285 |
</mime:multipartRelated> |
| 286 |
</input> |
| 287 |
<output name="EchoAttachmentOutput"> |
| 288 |
<mime:multipartRelated> |
| 289 |
<mime:part> |
| 290 |
<soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 291 |
</mime:part> |
| 292 |
<mime:part> |
| 293 |
<mime:content part="Out" type="application/octetstream"/> |
| 294 |
</mime:part> |
| 295 |
</mime:multipartRelated> |
| 296 |
</output> |
| 297 |
</operation> |
| 298 |
</binding> |
| 299 |
|
| 300 |
<!-- I want to do a document style binding, too, but it doesn't work yet --> |
| 301 |
|
| 302 |
<service name="Attachment"> |
| 303 |
<port name="AttachmentPortRPC" binding="tns:b1"> |
| 304 |
<soap:address location="http://localhost:8080/axis/services/AttachmentPortRPC"/> |
| 305 |
</port> |
| 306 |
<!-- doc doesn't work yet |
| 307 |
<port name="AttachmentPortDoc" binding="tns:b2"> |
| 308 |
<soap:address location="http://localhost:8080/axis/services/AttachmentPortDoc"/> |
| 309 |
</port> |
| 310 |
--> |
| 311 |
</service> |
| 312 |
|
| 313 |
</wsdl:definitions> |