]> granicus.if.org Git - php/commitdiff
Some tests were fixed
authorDmitry Stogov <dmitry@php.net>
Wed, 20 Apr 2005 06:36:10 +0000 (06:36 +0000)
committerDmitry Stogov <dmitry@php.net>
Wed, 20 Apr 2005 06:36:10 +0000 (06:36 +0000)
ext/soap/tests/classmap.wsdl
ext/soap/tests/interop/Round2/Base/phpt.40ea5092ecda9 [deleted file]
ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.diff [deleted file]
ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.exp [deleted file]
ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.log [deleted file]
ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.out [deleted file]
ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.php [deleted file]
ext/soap/tests/interop/Round4/GroupG/round4_groupG_dimerpc.wsdl
ext/soap/tests/interop/Round4/GroupG/round4_groupG_mimerpc.wsdl

index 25062630ac39cdef8e50705b7146a81d6f411f70..7fcf596244fea38402733ab2f527fb72ed4a0c07 100644 (file)
@@ -1,60 +1,60 @@
-<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.nothing.com" targetNamespace="http://schemas.nothing.com">\r
-       <wsdl:types>\r
-               <xsd:schema targetNamespace="http://schemas.nothing.com">\r
-                       <xsd:complexType name="book">\r
-                               <xsd:all>\r
-                                       <xsd:element name="a" type="xsd:string"/>\r
-                                       <xsd:element name="b" type="xsd:string"/>\r
-                               </xsd:all>\r
-                       </xsd:complexType>\r
-  </xsd:schema>\r
-       </wsdl:types>\r
-       <message name="dotestRequest">\r
-               <part name="dotestReturn" type="tns:book"/>\r
-  </message>\r
-       <message name="dotestResponse">\r
-               <part name="res" type="xsi:string"/>\r
-  </message>\r
-       <message name="dotest2Request">\r
-               <part name="dotest2" type="xsi:string"/>\r
-  </message>\r
-       <message name="dotest2Response">\r
-               <part name="res" type="tns:book"/>\r
-  </message>\r
-       <portType name="testPortType">\r
-               <operation name="dotest">\r
-                       <input message="tns:dotestRequest"/>\r
-                       <output message="tns:dotestResponse"/>\r
-               </operation>\r
-               <operation name="dotest2">\r
-                       <input message="tns:dotest2Request"/>\r
-                       <output message="tns:dotest2Response"/>\r
-               </operation>\r
-       </portType>\r
-       <binding name="testBinding" type="tns:testPortType">\r
-               <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>\r
-               <operation name="dotest">\r
-                       <soap:operation soapAction="http://localhost:81/test/interface.php?class=test/dotest" style="rpc"/>\r
-                       <input>\r
-                               <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>\r
-                       </input>\r
-                       <output>\r
-                               <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>\r
-                       </output>\r
-               </operation>\r
-               <operation name="dotest2">\r
-                       <soap:operation soapAction="http://localhost:81/test/interface.php?class=test/dotest2" style="rpc"/>\r
-                       <input>\r
-                               <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>\r
-                       </input>\r
-                       <output>\r
-                               <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>\r
-                       </output>\r
-               </operation>\r
-       </binding>\r
-       <service name="test">\r
-               <port name="testPort" binding="tns:testBinding">\r
-                       <soap:address location="http://localhost:81/test/interface.php?class=test"/>\r
-               </port>\r
-       </service>\r
-</wsdl:definitions>\r
+<wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.nothing.com" targetNamespace="http://schemas.nothing.com">
+       <wsdl:types>
+               <xsd:schema targetNamespace="http://schemas.nothing.com">
+                       <xsd:complexType name="book">
+                               <xsd:all>
+                                       <xsd:element name="a" type="xsd:string"/>
+                                       <xsd:element name="b" type="xsd:string"/>
+                               </xsd:all>
+                       </xsd:complexType>
+  </xsd:schema>
+       </wsdl:types>
+       <message name="dotestRequest">
+               <part name="dotestReturn" type="tns:book"/>
+  </message>
+       <message name="dotestResponse">
+               <part name="res" type="xsi:string"/>
+  </message>
+       <message name="dotest2Request">
+               <part name="dotest2" type="xsi:string"/>
+  </message>
+       <message name="dotest2Response">
+               <part name="res" type="tns:book"/>
+  </message>
+       <portType name="testPortType">
+               <operation name="dotest">
+                       <input message="tns:dotestRequest"/>
+                       <output message="tns:dotestResponse"/>
+               </operation>
+               <operation name="dotest2">
+                       <input message="tns:dotest2Request"/>
+                       <output message="tns:dotest2Response"/>
+               </operation>
+       </portType>
+       <binding name="testBinding" type="tns:testPortType">
+               <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+               <operation name="dotest">
+                       <soap:operation soapAction="http://localhost:81/test/interface.php?class=test/dotest" style="rpc"/>
+                       <input>
+                               <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>
+                       </input>
+                       <output>
+                               <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>
+                       </output>
+               </operation>
+               <operation name="dotest2">
+                       <soap:operation soapAction="http://localhost:81/test/interface.php?class=test/dotest2" style="rpc"/>
+                       <input>
+                               <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>
+                       </input>
+                       <output>
+                               <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.nothing.com"/>
+                       </output>
+               </operation>
+       </binding>
+       <service name="test">
+               <port name="testPort" binding="tns:testBinding">
+                       <soap:address location="http://localhost:81/test/interface.php?class=test"/>
+               </port>
+       </service>
+</wsdl:definitions>
diff --git a/ext/soap/tests/interop/Round2/Base/phpt.40ea5092ecda9 b/ext/soap/tests/interop/Round2/Base/phpt.40ea5092ecda9
deleted file mode 100644 (file)
index 352c84b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<?php require_once('skipif.inc'); ?>
diff --git a/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.diff b/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.diff
deleted file mode 100644 (file)
index 7e7e6cf..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-002+ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:x_Document ID="1">Test Document Here</ns1:x_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-002- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:x_Document ns1:ID="1">Test Document Here</ns1:x_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-004+ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:result_Document ID="1">Test Document Here</ns1:result_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-004- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:result_Document ns1:ID="1">Test Document Here</ns1:result_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
\ No newline at end of file
diff --git a/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.exp b/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.exp
deleted file mode 100644 (file)
index d832c04..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:x_Document ns1:ID="1">Test Document Here</ns1:x_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:result_Document ns1:ID="1">Test Document Here</ns1:result_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok
\ No newline at end of file
diff --git a/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.log b/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.log
deleted file mode 100644 (file)
index 6ae8422..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-
----- EXPECTED OUTPUT
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:x_Document ns1:ID="1">Test Document Here</ns1:x_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:result_Document ns1:ID="1">Test Document Here</ns1:result_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok
----- ACTUAL OUTPUT
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:x_Document ID="1">Test Document Here</ns1:x_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:result_Document ID="1">Test Document Here</ns1:result_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok
----- FAILED
diff --git a/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.out b/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.out
deleted file mode 100644 (file)
index 798b0fe..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:x_Document ID="1">Test Document Here</ns1:x_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soapinterop.org/xsd"><SOAP-ENV:Body><ns1:result_Document ID="1">Test Document Here</ns1:result_Document></SOAP-ENV:Body></SOAP-ENV:Envelope>
-ok
\ No newline at end of file
diff --git a/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.php b/ext/soap/tests/interop/Round3/GroupD/r3_groupD_compound1_003w.php
deleted file mode 100644 (file)
index d414a5a..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-$client = new SoapClient(dirname(__FILE__)."/round3_groupD_compound1.wsdl",array("trace"=>1,"exceptions"=>0));
-$client->echoDocument((object)array("_"=>"Test Document Here","ID"=>1));
-echo $client->__getlastrequest();
-$HTTP_RAW_POST_DATA = $client->__getlastrequest();
-include("round3_groupD_compound1.inc");
-echo "ok\n";
-?>
index dfaf81e93e3dcf3970746ee4258f9207c74c3a8a..d837da0c62fcd310911bf597d7b50b20e5c7808c 100644 (file)
-<?xml version="1.0" encoding="utf-8"?>\r
-<wsdl:definitions name="SOAPBuilders" xmlns="http://soapinterop.org/attachments/wsdl" xmlns:types="http://soapinterop.org/attachments/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:dime="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/" xmlns:content="http://schemas.xmlsoap.org/ws/2002/04/content-type/" targetNamespace="http://soapinterop.org/attachments/wsdl">\r
-       <wsdl:types>\r
-               <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/attachments/xsd">\r
-                       <import namespace="http://schemas.xmlsoap.org/soap/encoding/" location="http://schemas.xmlsoap.org/soap/encoding/" />\r
-                       <import namespace="http://schemas.xmlsoap.org/ws/2002/04/content-type/"/>\r
-                       <import namespace="http://schemas.xmlsoap.org/ws/2002/04/reference/"/>\r
-                       <complexType name="ReferencedBinary">\r
-                               <simpleContent>\r
-                                       <restriction base="soap-enc:base64Binary">\r
-                                               <annotation>\r
-                                                       <appinfo>\r
-                                                               <content:mediaType value="application/octetstream"/>\r
-                                                       </appinfo>\r
-                                               </annotation>\r
-                                               <attributeGroup ref="soap-enc:commonAttributes"/>\r
-                                       </restriction>\r
-                               </simpleContent>\r
-                       </complexType>\r
-                       <complexType name="ArrayOfBinary">\r
-                               <complexContent>\r
-                                       <restriction base="soap-enc:Array">\r
-                                               <attribute ref="soap-enc:arrayType" wsdl:arrayType="types:ReferencedBinary[]"/>\r
-                                       </restriction>\r
-                               </complexContent>\r
-                       </complexType>\r
-                       <complexType name="ReferencedText">\r
-                               <simpleContent>\r
-                                       <restriction base="soap-enc:base64Binary">\r
-                                               <annotation>\r
-                                                       <appinfo>\r
-                                                               <content:mediaType value="text/plain"/>\r
-                                                       </appinfo>\r
-                                               </annotation>\r
-                                               <attributeGroup ref="soap-enc:commonAttributes"/>\r
-                                       </restriction>\r
-                               </simpleContent>\r
-                       </complexType>\r
-               </schema>\r
-       </wsdl:types>\r
-       <wsdl:message name="EchoAttachmentIn">\r
-               <wsdl:part name="In" type="types:ReferencedBinary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentOut">\r
-               <wsdl:part name="Out" type="types:ReferencedBinary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentsIn">\r
-               <wsdl:part name="In" type="types:ArrayOfBinary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentsOut">\r
-               <wsdl:part name="Out" type="types:ArrayOfBinary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentAsBase64In">\r
-               <wsdl:part name="In" type="types:ReferencedBinary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentAsBase64Out">\r
-               <wsdl:part name="Out" type="xsd:base64Binary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoBase64AsAttachmentIn">\r
-               <wsdl:part name="In" type="xsd:base64Binary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoBase64AsAttachmentOut">\r
-               <wsdl:part name="Out" type="types:ReferencedBinary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoUnrefAttachmentsIn" />\r
-       <wsdl:message name="EchoUnrefAttachmentsOut" />\r
-       <wsdl:message name="EchoAttachmentAsStringIn">\r
-               <wsdl:part name="In" type="types:ReferencedText"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentAsStringOut">\r
-               <wsdl:part name="Out" type="xsd:string"/>\r
-       </wsdl:message>\r
-       \r
-       <wsdl:portType name="AttachmentsPortType">\r
-               <wsdl:operation name="EchoAttachment">\r
-                       <wsdl:input name="EchoAttachmentInput" message="EchoAttachmentIn"/>\r
-                       <wsdl:output name="EchoAttachmentOutput" message="EchoAttachmentOut"/>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachments">\r
-                       <wsdl:input name="EchoAttachmentsInput" message="EchoAttachmentsIn"/>\r
-                       <wsdl:output name="EchoAttachmentsOutput" message="EchoAttachmentsOut"/>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachmentAsBase64">\r
-                       <wsdl:input name="EchoAttachmentAsBase64Input" message="EchoAttachmentAsBase64In"/>\r
-                       <wsdl:output name="EchoAttachmentAsBase64Output" message="EchoAttachmentAsBase64Out"/>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoBase64AsAttachment">\r
-                       <wsdl:input name="EchoBase64AsAttachmentInput" message="EchoBase64AsAttachmentIn"/>\r
-                       <wsdl:output name="EchoBase64AsAttachmentOutput" message="EchoBase64AsAttachmentOut"/>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoUnrefAttachments">\r
-                       <wsdl:input name="EchoUnrefAttachmentsInput" message="EchoUnrefAttachmentsIn"/>\r
-                       <wsdl:output name="EchoUnrefAttachmentsOutput" message="EchoUnrefAttachmentsOut"/>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachmentAsString">\r
-                       <wsdl:input  name="EchoAttachmentAsStringInput"  message="EchoAttachmentAsStringIn"/>\r
-                       <wsdl:output name="EchoAttachmentAsStringOutput" message="EchoAttachmentAsStringOut"/>\r
-               </wsdl:operation>\r
-       </wsdl:portType>\r
-       <wsdl:binding name="AttachmentsBinding" type="AttachmentsPortType">\r
-               <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>\r
-               <wsdl:operation name="EchoAttachment">\r
-                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoAttachmentInput">\r
-                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoAttachmentOutput">\r
-                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachments">\r
-                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoAttachmentsInput">\r
-                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoAttachmentsOutput">\r
-                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachmentAsBase64">\r
-                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoAttachmentAsBase64Input">\r
-                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoAttachmentAsBase64Output">\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoBase64AsAttachment">\r
-                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoBase64AsAttachmentInput">\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoBase64AsAttachmentOutput">\r
-                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoUnrefAttachments">\r
-                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoUnrefAttachmentsInput">\r
-                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/open-layout" wsdl:required="true"/>\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoUnrefAttachmentsOutput">\r
-                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/open-layout" wsdl:required="true"/>\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachmentAsString">\r
-                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoAttachmentAsStringInput">\r
-                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoAttachmentAsStringOutput">\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-       </wsdl:binding>\r
-  <wsdl:service name="Round4DIMERPC">\r
-    <wsdl:port name="Round4DIMERPCTestSoap" binding="AttachmentsBinding">\r
-      <soap:address location="test://" />\r
-    </wsdl:port>\r
-  </wsdl:service>\r
-</wsdl:definitions>\r
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="SOAPBuilders" xmlns="http://soapinterop.org/attachments/wsdl" xmlns:types="http://soapinterop.org/attachments/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:dime="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/" xmlns:content="http://schemas.xmlsoap.org/ws/2002/04/content-type/" targetNamespace="http://soapinterop.org/attachments/wsdl">
+       <wsdl:types>
+               <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/attachments/xsd">
+                       <import namespace="http://schemas.xmlsoap.org/soap/encoding/" location="http://schemas.xmlsoap.org/soap/encoding/" />
+                       <import namespace="http://schemas.xmlsoap.org/ws/2002/04/content-type/"/>
+                       <import namespace="http://schemas.xmlsoap.org/ws/2002/04/reference/"/>
+                       <complexType name="ReferencedBinary">
+                               <simpleContent>
+                                       <restriction base="soap-enc:base64Binary">
+                                               <annotation>
+                                                       <appinfo>
+                                                               <content:mediaType value="application/octetstream"/>
+                                                       </appinfo>
+                                               </annotation>
+                                               <attributeGroup ref="soap-enc:commonAttributes"/>
+                                       </restriction>
+                               </simpleContent>
+                       </complexType>
+                       <complexType name="ArrayOfBinary">
+                               <complexContent>
+                                       <restriction base="soap-enc:Array">
+                                               <attribute ref="soap-enc:arrayType" wsdl:arrayType="types:ReferencedBinary[]"/>
+                                       </restriction>
+                               </complexContent>
+                       </complexType>
+                       <complexType name="ReferencedText">
+                               <simpleContent>
+                                       <restriction base="soap-enc:base64Binary">
+                                               <annotation>
+                                                       <appinfo>
+                                                               <content:mediaType value="text/plain"/>
+                                                       </appinfo>
+                                               </annotation>
+                                               <attributeGroup ref="soap-enc:commonAttributes"/>
+                                       </restriction>
+                               </simpleContent>
+                       </complexType>
+               </schema>
+       </wsdl:types>
+       <wsdl:message name="EchoAttachmentIn">
+               <wsdl:part name="In" type="types:ReferencedBinary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentOut">
+               <wsdl:part name="Out" type="types:ReferencedBinary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentsIn">
+               <wsdl:part name="In" type="types:ArrayOfBinary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentsOut">
+               <wsdl:part name="Out" type="types:ArrayOfBinary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentAsBase64In">
+               <wsdl:part name="In" type="types:ReferencedBinary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentAsBase64Out">
+               <wsdl:part name="Out" type="xsd:base64Binary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoBase64AsAttachmentIn">
+               <wsdl:part name="In" type="xsd:base64Binary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoBase64AsAttachmentOut">
+               <wsdl:part name="Out" type="types:ReferencedBinary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoUnrefAttachmentsIn" />
+       <wsdl:message name="EchoUnrefAttachmentsOut" />
+       <wsdl:message name="EchoAttachmentAsStringIn">
+               <wsdl:part name="In" type="types:ReferencedText"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentAsStringOut">
+               <wsdl:part name="Out" type="xsd:string"/>
+       </wsdl:message>
+       
+       <wsdl:portType name="AttachmentsPortType">
+               <wsdl:operation name="EchoAttachment">
+                       <wsdl:input name="EchoAttachmentInput" message="EchoAttachmentIn"/>
+                       <wsdl:output name="EchoAttachmentOutput" message="EchoAttachmentOut"/>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachments">
+                       <wsdl:input name="EchoAttachmentsInput" message="EchoAttachmentsIn"/>
+                       <wsdl:output name="EchoAttachmentsOutput" message="EchoAttachmentsOut"/>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachmentAsBase64">
+                       <wsdl:input name="EchoAttachmentAsBase64Input" message="EchoAttachmentAsBase64In"/>
+                       <wsdl:output name="EchoAttachmentAsBase64Output" message="EchoAttachmentAsBase64Out"/>
+               </wsdl:operation>
+               <wsdl:operation name="EchoBase64AsAttachment">
+                       <wsdl:input name="EchoBase64AsAttachmentInput" message="EchoBase64AsAttachmentIn"/>
+                       <wsdl:output name="EchoBase64AsAttachmentOutput" message="EchoBase64AsAttachmentOut"/>
+               </wsdl:operation>
+               <wsdl:operation name="EchoUnrefAttachments">
+                       <wsdl:input name="EchoUnrefAttachmentsInput" message="EchoUnrefAttachmentsIn"/>
+                       <wsdl:output name="EchoUnrefAttachmentsOutput" message="EchoUnrefAttachmentsOut"/>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachmentAsString">
+                       <wsdl:input  name="EchoAttachmentAsStringInput"  message="EchoAttachmentAsStringIn"/>
+                       <wsdl:output name="EchoAttachmentAsStringOutput" message="EchoAttachmentAsStringOut"/>
+               </wsdl:operation>
+       </wsdl:portType>
+       <wsdl:binding name="AttachmentsBinding" type="AttachmentsPortType">
+               <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+               <wsdl:operation name="EchoAttachment">
+                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoAttachmentInput">
+                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:input>
+                       <wsdl:output name="EchoAttachmentOutput">
+                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:output>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachments">
+                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoAttachmentsInput">
+                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:input>
+                       <wsdl:output name="EchoAttachmentsOutput">
+                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:output>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachmentAsBase64">
+                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoAttachmentAsBase64Input">
+                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:input>
+                       <wsdl:output name="EchoAttachmentAsBase64Output">
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:output>
+               </wsdl:operation>
+               <wsdl:operation name="EchoBase64AsAttachment">
+                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoBase64AsAttachmentInput">
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:input>
+                       <wsdl:output name="EchoBase64AsAttachmentOutput">
+                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:output>
+               </wsdl:operation>
+               <wsdl:operation name="EchoUnrefAttachments">
+                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoUnrefAttachmentsInput">
+                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/open-layout" wsdl:required="true"/>
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:input>
+                       <wsdl:output name="EchoUnrefAttachmentsOutput">
+                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/open-layout" wsdl:required="true"/>
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:output>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachmentAsString">
+                       <soap:operation style="rpc" soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoAttachmentAsStringInput">
+                               <dime:message layout="http://schemas.xmlsoap.org/ws/2002/04/dime/closed-layout" wsdl:required="true"/>
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:input>
+                       <wsdl:output name="EchoAttachmentAsStringOutput">
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:output>
+               </wsdl:operation>
+       </wsdl:binding>
+  <wsdl:service name="Round4DIMERPC">
+    <wsdl:port name="Round4DIMERPCTestSoap" binding="AttachmentsBinding">
+      <soap:address location="test://" />
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>
index 72aea03d13a944df432975e4b1499bac65132d36..30a56d12f681391fc77ceed56457b00f62c8f003 100644 (file)
-<?xml version="1.0" encoding="utf-8"?>\r
-<wsdl:definitions name="SOAPBuilders" \r
-    xmlns="http://soapinterop.org/attachments/wsdl" \r
-    xmlns:types="http://soapinterop.org/attachments/xsd" \r
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema" \r
-    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" \r
-    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" \r
-    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" \r
-    xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" \r
-    targetNamespace="http://soapinterop.org/attachments/wsdl">\r
-       <wsdl:types>\r
-               <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/attachments/xsd">\r
-                       <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       <complexType name="ArrayOfBinary">\r
-                               <complexContent>\r
-                                       <restriction base="soap-enc:Array">\r
-                                               <attribute ref="soap-enc:arrayType" wsdl:arrayType="soap-enc:base64Binary[]"/>\r
-                                       </restriction>\r
-                               </complexContent>\r
-                       </complexType>\r
-               </schema>\r
-       </wsdl:types>\r
-       <wsdl:message name="EchoAttachmentIn">\r
-               <wsdl:part name="In" type="xsd:base64Binary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentOut">\r
-               <wsdl:part name="Out" type="xsd:base64Binary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentsIn">\r
-               <wsdl:part name="In" type="types:ArrayOfBinary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentsOut">\r
-               <wsdl:part name="Out" type="types:ArrayOfBinary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentAsBase64In">\r
-               <wsdl:part name="In" type="xsd:base64Binary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoAttachmentAsBase64Out">\r
-               <wsdl:part name="Out" type="xsd:base64Binary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoBase64AsAttachmentIn">\r
-               <wsdl:part name="In" type="xsd:base64Binary"/>\r
-       </wsdl:message>\r
-       <wsdl:message name="EchoBase64AsAttachmentOut">\r
-               <wsdl:part name="Out" type="xsd:base64Binary"/>\r
-       </wsdl:message>\r
-       <wsdl:portType name="AttachmentsPortType">\r
-               <wsdl:operation name="EchoAttachment">\r
-                       <wsdl:input name="EchoAttachmentInput" message="EchoAttachmentIn"/>\r
-                       <wsdl:output name="EchoAttachmentOutput" message="EchoAttachmentOut"/>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachments">\r
-                       <wsdl:input name="EchoAttachmentsInput" message="EchoAttachmentsIn"/>\r
-                       <wsdl:output name="EchoAttachmentsOutput" message="EchoAttachmentsOut"/>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachmentAsBase64">\r
-                       <wsdl:input name="EchoAttachmentAsBase64Input" message="EchoAttachmentAsBase64In"/>\r
-                       <wsdl:output name="EchoAttachmentAsBase64Output" message="EchoAttachmentAsBase64Out"/>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoBase64AsAttachment">\r
-                       <wsdl:input name="EchoBase64AsAttachmentInput" message="EchoBase64AsAttachmentIn"/>\r
-                       <wsdl:output name="EchoBase64AsAttachmentOutput" message="EchoBase64AsAttachmentOut"/>\r
-               </wsdl:operation>\r
-       </wsdl:portType>\r
-       <wsdl:binding name="AttachmentsBinding" type="AttachmentsPortType">\r
-               <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>\r
-               <wsdl:operation name="EchoAttachment">\r
-                       <soap:operation soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoAttachmentInput">\r
-                               <mime:multipartRelated>\r
-                                       <mime:part>\r
-                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                                       </mime:part>\r
-                                       <mime:part>\r
-                                               <mime:content part="In" type="application/octetstream"/>\r
-                                       </mime:part>\r
-                               </mime:multipartRelated>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoAttachmentOutput">\r
-                               <mime:multipartRelated>\r
-                                       <mime:part>\r
-                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                                       </mime:part>\r
-                                       <mime:part>\r
-                                               <mime:content part="Out" type="application/octetstream"/>\r
-                                       </mime:part>\r
-                               </mime:multipartRelated>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachments">\r
-                       <soap:operation soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoAttachmentsInput">\r
-                               <mime:multipartRelated>\r
-                                       <mime:part>\r
-                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                                       </mime:part>\r
-                                       <mime:part>\r
-                                               <mime:content part="In" type="application/octetstream"/>\r
-                                       </mime:part>\r
-                               </mime:multipartRelated>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoAttachmentsOutput">\r
-                               <mime:multipartRelated>\r
-                                       <mime:part>\r
-                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                                       </mime:part>\r
-                                       <mime:part>\r
-                                               <mime:content part="Out" type="application/octetstream"/>\r
-                                       </mime:part>\r
-                               </mime:multipartRelated>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoAttachmentAsBase64">\r
-                       <soap:operation soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoAttachmentAsBase64Input">\r
-                               <mime:multipartRelated>\r
-                                       <mime:part>\r
-                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                                       </mime:part>\r
-                                       <mime:part>\r
-                                               <mime:content part="In" type="application/octetstream"/>\r
-                                       </mime:part>\r
-                               </mime:multipartRelated>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoAttachmentAsBase64Output">\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-               <wsdl:operation name="EchoBase64AsAttachment">\r
-                       <soap:operation soapAction="http://soapinterop.org/attachments/"/>\r
-                       <wsdl:input name="EchoBase64AsAttachmentInput">\r
-                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                       </wsdl:input>\r
-                       <wsdl:output name="EchoBase64AsAttachmentOutput">\r
-                               <mime:multipartRelated>\r
-                                       <mime:part>\r
-                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>\r
-                                       </mime:part>\r
-                                       <mime:part>\r
-                                               <mime:content part="Out" type="application/octetstream"/>\r
-                                       </mime:part>\r
-                               </mime:multipartRelated>\r
-                       </wsdl:output>\r
-               </wsdl:operation>\r
-       </wsdl:binding>\r
-  <wsdl:service name="Round4MIMERPC">\r
-    <wsdl:port name="Round4MIMERPCTestSoap" binding="AttachmentsBinding">\r
-      <soap:address location="test://" />\r
-    </wsdl:port>\r
-  </wsdl:service>\r
-</wsdl:definitions>\r
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="SOAPBuilders" 
+    xmlns="http://soapinterop.org/attachments/wsdl" 
+    xmlns:types="http://soapinterop.org/attachments/xsd" 
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
+    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
+    xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" 
+    targetNamespace="http://soapinterop.org/attachments/wsdl">
+       <wsdl:types>
+               <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/attachments/xsd">
+                       <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       <complexType name="ArrayOfBinary">
+                               <complexContent>
+                                       <restriction base="soap-enc:Array">
+                                               <attribute ref="soap-enc:arrayType" wsdl:arrayType="soap-enc:base64Binary[]"/>
+                                       </restriction>
+                               </complexContent>
+                       </complexType>
+               </schema>
+       </wsdl:types>
+       <wsdl:message name="EchoAttachmentIn">
+               <wsdl:part name="In" type="xsd:base64Binary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentOut">
+               <wsdl:part name="Out" type="xsd:base64Binary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentsIn">
+               <wsdl:part name="In" type="types:ArrayOfBinary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentsOut">
+               <wsdl:part name="Out" type="types:ArrayOfBinary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentAsBase64In">
+               <wsdl:part name="In" type="xsd:base64Binary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoAttachmentAsBase64Out">
+               <wsdl:part name="Out" type="xsd:base64Binary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoBase64AsAttachmentIn">
+               <wsdl:part name="In" type="xsd:base64Binary"/>
+       </wsdl:message>
+       <wsdl:message name="EchoBase64AsAttachmentOut">
+               <wsdl:part name="Out" type="xsd:base64Binary"/>
+       </wsdl:message>
+       <wsdl:portType name="AttachmentsPortType">
+               <wsdl:operation name="EchoAttachment">
+                       <wsdl:input name="EchoAttachmentInput" message="EchoAttachmentIn"/>
+                       <wsdl:output name="EchoAttachmentOutput" message="EchoAttachmentOut"/>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachments">
+                       <wsdl:input name="EchoAttachmentsInput" message="EchoAttachmentsIn"/>
+                       <wsdl:output name="EchoAttachmentsOutput" message="EchoAttachmentsOut"/>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachmentAsBase64">
+                       <wsdl:input name="EchoAttachmentAsBase64Input" message="EchoAttachmentAsBase64In"/>
+                       <wsdl:output name="EchoAttachmentAsBase64Output" message="EchoAttachmentAsBase64Out"/>
+               </wsdl:operation>
+               <wsdl:operation name="EchoBase64AsAttachment">
+                       <wsdl:input name="EchoBase64AsAttachmentInput" message="EchoBase64AsAttachmentIn"/>
+                       <wsdl:output name="EchoBase64AsAttachmentOutput" message="EchoBase64AsAttachmentOut"/>
+               </wsdl:operation>
+       </wsdl:portType>
+       <wsdl:binding name="AttachmentsBinding" type="AttachmentsPortType">
+               <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+               <wsdl:operation name="EchoAttachment">
+                       <soap:operation soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoAttachmentInput">
+                               <mime:multipartRelated>
+                                       <mime:part>
+                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                                       </mime:part>
+                                       <mime:part>
+                                               <mime:content part="In" type="application/octetstream"/>
+                                       </mime:part>
+                               </mime:multipartRelated>
+                       </wsdl:input>
+                       <wsdl:output name="EchoAttachmentOutput">
+                               <mime:multipartRelated>
+                                       <mime:part>
+                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                                       </mime:part>
+                                       <mime:part>
+                                               <mime:content part="Out" type="application/octetstream"/>
+                                       </mime:part>
+                               </mime:multipartRelated>
+                       </wsdl:output>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachments">
+                       <soap:operation soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoAttachmentsInput">
+                               <mime:multipartRelated>
+                                       <mime:part>
+                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                                       </mime:part>
+                                       <mime:part>
+                                               <mime:content part="In" type="application/octetstream"/>
+                                       </mime:part>
+                               </mime:multipartRelated>
+                       </wsdl:input>
+                       <wsdl:output name="EchoAttachmentsOutput">
+                               <mime:multipartRelated>
+                                       <mime:part>
+                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                                       </mime:part>
+                                       <mime:part>
+                                               <mime:content part="Out" type="application/octetstream"/>
+                                       </mime:part>
+                               </mime:multipartRelated>
+                       </wsdl:output>
+               </wsdl:operation>
+               <wsdl:operation name="EchoAttachmentAsBase64">
+                       <soap:operation soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoAttachmentAsBase64Input">
+                               <mime:multipartRelated>
+                                       <mime:part>
+                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                                       </mime:part>
+                                       <mime:part>
+                                               <mime:content part="In" type="application/octetstream"/>
+                                       </mime:part>
+                               </mime:multipartRelated>
+                       </wsdl:input>
+                       <wsdl:output name="EchoAttachmentAsBase64Output">
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:output>
+               </wsdl:operation>
+               <wsdl:operation name="EchoBase64AsAttachment">
+                       <soap:operation soapAction="http://soapinterop.org/attachments/"/>
+                       <wsdl:input name="EchoBase64AsAttachmentInput">
+                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                       </wsdl:input>
+                       <wsdl:output name="EchoBase64AsAttachmentOutput">
+                               <mime:multipartRelated>
+                                       <mime:part>
+                                               <soap:body use="encoded" namespace="http://soapinterop.org/attachments/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+                                       </mime:part>
+                                       <mime:part>
+                                               <mime:content part="Out" type="application/octetstream"/>
+                                       </mime:part>
+                               </mime:multipartRelated>
+                       </wsdl:output>
+               </wsdl:operation>
+       </wsdl:binding>
+  <wsdl:service name="Round4MIMERPC">
+    <wsdl:port name="Round4MIMERPCTestSoap" binding="AttachmentsBinding">
+      <soap:address location="test://" />
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>