Created
August 5, 2014 08:09
-
-
Save jonvargas/054d9cac7a7c4e51e527 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:app/controllers/SiteControllerwsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" name="app/controllers/SiteController" targetNamespace="urn:app/controllers/SiteControllerwsdl"> | |
<wsdl:types> | |
<xsd:schema targetNamespace="urn:app/controllers/SiteControllerwsdl"> | |
<xsd:complexType name="app\models\Post"> | |
<xsd:all> | |
<xsd:element name="id" type="xsd:integer"/> | |
<xsd:element name="title" type="xsd:string"/> | |
</xsd:all> | |
</xsd:complexType> | |
</xsd:schema> | |
</wsdl:types> | |
<wsdl:message name="getHelloIn"> | |
<wsdl:part name="name" type="xsd:string"/> | |
</wsdl:message> | |
<wsdl:message name="getHelloOut"> | |
<wsdl:part name="return" type="xsd:string"/> | |
</wsdl:message> | |
<wsdl:message name="receiveIn"> | |
<wsdl:part name="post" type="tns:app\models\Post"/> | |
</wsdl:message> | |
<wsdl:message name="receiveOut"> | |
<wsdl:part name="return" type="xsd:string"/> | |
</wsdl:message> | |
<wsdl:portType name="app/controllers/SiteControllerPortType"> | |
<wsdl:operation name="getHello"> | |
<wsdl:documentation>Returns hello and the name that you gave</wsdl:documentation> | |
<wsdl:input message="tns:getHelloIn"/> | |
<wsdl:output message="tns:getHelloOut"/> | |
</wsdl:operation> | |
<wsdl:operation name="receive"> | |
<wsdl:documentation>Returns hello and the name that you gave</wsdl:documentation> | |
<wsdl:input message="tns:receiveIn"/> | |
<wsdl:output message="tns:receiveOut"/> | |
</wsdl:operation> | |
</wsdl:portType> | |
<wsdl:binding name="app/controllers/SiteControllerBinding" type="tns:app/controllers/SiteControllerPortType"> | |
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> | |
<wsdl:operation name="getHello"> | |
<soap:operation soapAction="urn:app/controllers/SiteControllerwsdl#getHello" style="rpc"/> | |
<wsdl:input> | |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:app/controllers/SiteControllerwsdl"/> | |
</wsdl:input> | |
<wsdl:output> | |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:app/controllers/SiteControllerwsdl"/> | |
</wsdl:output> | |
</wsdl:operation> | |
<wsdl:operation name="receive"> | |
<soap:operation soapAction="urn:app/controllers/SiteControllerwsdl#receive" style="rpc"/> | |
<wsdl:input> | |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:app/controllers/SiteControllerwsdl"/> | |
</wsdl:input> | |
<wsdl:output> | |
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:app/controllers/SiteControllerwsdl"/> | |
</wsdl:output> | |
</wsdl:operation> | |
</wsdl:binding> | |
<wsdl:service name="app/controllers/SiteControllerService"> | |
<wsdl:port name="app/controllers/SiteControllerPort" binding="tns:app/controllers/SiteControllerBinding"> | |
<soap:address location="http://localhost/projects/yii2-wsdl/basic/web/index.php?r=site%2FmyService&ws=1"/> | |
</wsdl:port> | |
</wsdl:service> | |
</definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment