wsdl_example.wsdl 3.2 KB

12
  1. <?xml version="1.0"?>
  2. <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://framework.zend.com/my_script.php" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" name="Zend_Soap_Server_TestClass" targetNamespace="http://framework.zend.com/my_script.php"><portType name="Zend_Soap_Server_TestClassPort"><operation name="testFunc1"><input message="tns:testFunc1Request"/><output message="tns:testFunc1Response"/></operation><operation name="testFunc2"><input message="tns:testFunc2Request"/><output message="tns:testFunc2Response"/></operation><operation name="testFunc3"><input message="tns:testFunc3Request"/><output message="tns:testFunc3Response"/></operation><operation name="testFunc4"><input message="tns:testFunc4Request"/><output message="tns:testFunc4Response"/></operation></portType><binding name="Zend_Soap_Server_TestClassBinding" type="tns:Zend_Soap_Server_TestClassPort"><soap:operation soapAction="http://framework.zend.com/my_script.php#testFunc4"/><soap:operation soapAction="http://framework.zend.com/my_script.php#testFunc3"/><soap:operation soapAction="http://framework.zend.com/my_script.php#testFunc2"/><soap:operation soapAction="http://framework.zend.com/my_script.php#testFunc1"/><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="testFunc1"><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="testFunc2"><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="testFunc3"><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="testFunc4"><input><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding><service name="Zend_Soap_Server_TestClassService"><port name="Zend_Soap_Server_TestClassPort" binding="tns:Zend_Soap_Server_TestClassBinding"><soap:address location="http://framework.zend.com/my_script.php"/></port></service><message name="testFunc1Request"/><message name="testFunc1Response"><part name="testFunc1Return" type="xsd:string"/></message><message name="testFunc2Request"><part name="who" type="xsd:string"/></message><message name="testFunc2Response"><part name="testFunc2Return" type="xsd:string"/></message><message name="testFunc3Request"><part name="who" type="xsd:string"/><part name="when" type="xsd:int"/></message><message name="testFunc3Response"><part name="testFunc3Return" type="xsd:string"/></message><message name="testFunc4Request"/><message name="testFunc4Response"><part name="testFunc4Return" type="xsd:string"/></message></definitions>