13c03-1.wsdl

来自「介绍PHP5的给类型函数应用」· WSDL 代码 · 共 69 行

WSDL
69
字号
<?xml version="1.0"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/"    xmlns:xsd="http://www.w3.org/2001/XMLSchema"    xmlns:tns="http://example.com/soap/math.php"     xmlns:soap-env="http://schemas.xmlsoap.org/wsdl/soap/"     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"     xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"     targetNamespace="http://example.com/soap/math.php">  <message name="mInput">    <part name="a" type="xsd:float"/>    <part name="b" type="xsd:float"/>  </message>  <message name="mOutput">    <part name="return" type="xsd:float"/>  </message>  <portType name="MathServicePortType">    <operation name="add">      <input message="tns:mInput"/>      <output message="tns:mOutput"/>    </operation>    <operation name="divide">      <input message="tns:mInput"/>      <output message="tns:mOutput"/>    </operation>  </portType>  <binding name="MathServiceBinding" type="tns:MathServicePortType">    <soap-env:binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/"         style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>      <operation xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/" 	      name="add">        <input xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/">          <soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/"                use="encoded"                encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>        </input>        <output xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/">            <soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/"                 use="encoded" 				encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>        </output>      </operation>      <operation xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/"	      name="divide">        <input xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/">            <soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/"                 use="encoded" 				encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>        </input>        <output xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/">          <soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/"               use="encoded" 			  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>        </output>      </operation>    </binding>  <service name="MathServiceService">    <port xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/"         name="MathServicePort"         binding="tns:MathServiceBinding">      <soap-env:address xmlns="http://schemas.xmlsoap.org/wsdl/soap/"           location="http://example.com/soap/math.php"/>    </port>  </service></definitions>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?