Back to index

php5  5.3.10
interopB.wsdl.php
Go to the documentation of this file.
00001 <?php
00002 header("Content-Type: text/xml");
00003 echo '<?xml version="1.0"?>';
00004 echo "\n";
00005 ?>
00006 <definitions name="InteropTest"
00007   targetNamespace="http://soapinterop.org/"
00008   xmlns="http://schemas.xmlsoap.org/wsdl/"
00009   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
00010   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
00011   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
00012   xmlns:tns="http://soapinterop.org/"
00013   xmlns:s="http://soapinterop.org/xsd"
00014   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
00015 
00016        <types>
00017               <schema xmlns="http://www.w3.org/2001/XMLSchema"
00018                 targetNamespace="http://soapinterop.org/xsd">
00019 
00020                      <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
00021 
00022                      <complexType name="ArrayOfstring">
00023                             <complexContent>
00024                                    <restriction base="SOAP-ENC:Array">
00025                                           <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[]"/>
00026                                    </restriction>
00027                             </complexContent>
00028                      </complexType>
00029                      <complexType name="ArrayOfint">
00030                             <complexContent>
00031                                    <restriction base="SOAP-ENC:Array">
00032                                           <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="int[]"/>
00033                                    </restriction>
00034                             </complexContent>
00035                      </complexType>
00036                      <complexType name="ArrayOffloat">
00037                             <complexContent>
00038                                    <restriction base="SOAP-ENC:Array">
00039                                           <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="float[]"/>
00040                                    </restriction>
00041                             </complexContent>
00042                      </complexType>
00043                      <complexType name="ArrayOfSOAPStruct">
00044                             <complexContent>
00045                                    <restriction base="SOAP-ENC:Array">
00046                                           <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="s:SOAPStruct[]"/>
00047                                    </restriction>
00048                             </complexContent>
00049                      </complexType>
00050                      <complexType name="SOAPStruct">
00051                             <all>
00052                                    <element name="varString" type="string" nillable="true"/>
00053                                    <element name="varInt" type="int" nillable="true"/>
00054                                    <element name="varFloat" type="float" nillable="true"/>
00055                             </all>
00056                      </complexType>
00057                      <complexType name="SOAPStructStruct">
00058                             <all>
00059                                    <element name="varString" type="string" nillable="true"/>
00060                                    <element name="varInt" type="int" nillable="true"/>
00061                                    <element name="varFloat" type="float" nillable="true"/>
00062                                    <element name="varStruct" type="s:SOAPStruct"/>
00063                             </all>
00064                      </complexType>
00065                      <complexType name="SOAPArrayStruct">
00066                             <all>
00067                                    <element name="varString" type="string" nillable="true"/>
00068                                    <element name="varInt" type="int" nillable="true"/>
00069                                    <element name="varFloat" type="float" nillable="true"/>
00070                                    <element name="varArray" type="s:ArrayOfstring"/>
00071                             </all>
00072                      </complexType>
00073               <complexType name="ArrayOfString2D">
00074               <complexContent>
00075                                    <restriction base="SOAP-ENC:Array">
00076                             <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[,]"/>
00077                                    </restriction>
00078               </complexContent>
00079               </complexType>
00080               </schema>
00081        </types>
00082 
00083        <message name="echoStructAsSimpleTypesRequest">
00084               <part name="inputStruct" type="s:SOAPStruct"/>
00085        </message>
00086        <message name="echoStructAsSimpleTypesResponse">
00087               <part name="outputString" type="xsd:string"/>
00088               <part name="outputInteger" type="xsd:int"/>
00089               <part name="outputFloat" type="xsd:float"/>
00090        </message>
00091        <message name="echoSimpleTypesAsStructRequest">
00092               <part name="inputString" type="xsd:string"/>
00093               <part name="inputInteger" type="xsd:int"/>
00094               <part name="inputFloat" type="xsd:float"/>
00095        </message>
00096        <message name="echoSimpleTypesAsStructResponse">
00097               <part name="return" type="s:SOAPStruct"/>
00098        </message>
00099        <message name="echo2DStringArrayRequest">
00100               <part name="input2DStringArray" type="s:ArrayOfString2D"/>
00101        </message>
00102        <message name="echo2DStringArrayResponse">
00103               <part name="return" type="s:ArrayOfString2D"/>
00104        </message>
00105        <message name="echoNestedStructRequest">
00106               <part name="inputStruct" type="s:SOAPStructStruct"/>
00107        </message>
00108        <message name="echoNestedStructResponse">
00109               <part name="return" type="s:SOAPStructStruct"/>
00110        </message>
00111               <message name="echoNestedArrayRequest">
00112               <part name="inputStruct" type="s:SOAPArrayStruct"/>
00113        </message>
00114        <message name="echoNestedArrayResponse">
00115               <part name="return" type="s:SOAPArrayStruct"/>
00116        </message>
00117 
00118        <portType name="InteropTestPortTypeB">
00119               <operation name="echoStructAsSimpleTypes" parameterOrder="inputStruct outputString outputInteger outputFloat">
00120                      <input message="tns:echoStructAsSimpleTypesRequest" name="echoStructAsSimpleTypes"/>
00121                      <output message="tns:echoStructAsSimpleTypesResponse" name="echoStructAsSimpleTypesResponse"/>
00122               </operation>
00123               <operation name="echoSimpleTypesAsStruct" parameterOrder="inputString inputInteger inputFloat">
00124                      <input message="tns:echoSimpleTypesAsStructRequest" name="echoSimpleTypesAsStruct"/>
00125                      <output message="tns:echoSimpleTypesAsStructResponse" name="echoSimpleTypesAsStructResponse"/>
00126               </operation>
00127               <operation name="echo2DStringArray" parameterOrder="input2DStringArray">
00128                      <input message="tns:echo2DStringArrayRequest" name="echo2DStringArray"/>
00129                      <output message="tns:echo2DStringArrayResponse" name="echo2DStringArrayResponse"/>
00130               </operation>
00131               <operation name="echoNestedStruct" parameterOrder="inputStruct">
00132                      <input message="tns:echoNestedStructRequest" name="echoNestedStruct"/>
00133                      <output message="tns:echoNestedStructResponse" name="echoNestedStructResponse"/>
00134               </operation>
00135               <operation name="echoNestedArray" parameterOrder="inputStruct">
00136                      <input message="tns:echoNestedArrayRequest" name="echoNestedArray"/>
00137                      <output message="tns:echoNestedArrayResponse" name="echoNestedArrayResponse"/>
00138               </operation>
00139        </portType>
00140 
00141        <binding name="InteropTestSoapBindingB" type="tns:InteropTestPortTypeB">
00142               <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
00143               <operation name="echoStructAsSimpleTypes">
00144                      <soap:operation soapAction="http://soapinterop.org/"/>
00145                      <input>
00146                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00147                      </input>
00148                      <output>
00149                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00150                      </output>
00151               </operation>
00152               <operation name="echoSimpleTypesAsStruct">
00153                      <soap:operation soapAction="http://soapinterop.org/"/>
00154                      <input>
00155                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00156                      </input>
00157                      <output>
00158                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00159                      </output>
00160               </operation>
00161               <operation name="echo2DStringArray">
00162                      <soap:operation soapAction="http://soapinterop.org/"/>
00163                      <input>
00164                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00165                      </input>
00166                      <output>
00167                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00168                      </output>
00169               </operation>
00170               <operation name="echoNestedStruct">
00171                      <soap:operation soapAction="http://soapinterop.org/"/>
00172                      <input>
00173                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00174                      </input>
00175                      <output>
00176                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00177                      </output>
00178               </operation>
00179               <operation name="echoNestedArray">
00180                      <soap:operation soapAction="http://soapinterop.org/"/>
00181                      <input>
00182                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00183                      </input>
00184                      <output>
00185                             <soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
00186                      </output>
00187               </operation>
00188        </binding>
00189 
00190        <service name="interopLabB">
00191               <port name="interopTestPortB" binding="tns:InteropTestSoapBindingB">
00192                      <soap:address location="<?php echo ((isset($_SERVER['HTTPS'])?"https://":"http://").$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']));?>/server_round2_groupB.php"/>
00193               </port>
00194        </service>
00195 
00196 </definitions>