interfaceDetail.wsdl 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:CLDwsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:CLDwsdl">
  3. <types>
  4. <xsd:schema targetNamespace="urn:CLDwsdl"
  5. >
  6. <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
  7. <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
  8. <xsd:complexType name="userInfo">
  9. <xsd:sequence>
  10. <xsd:element name="userId" type="xsd:string"></xsd:element>
  11. </xsd:sequence>
  12. </xsd:complexType>
  13. </xsd:schema>
  14. </types>
  15. <message name="registerRequest">
  16. <part name="username" type="tns:userInfo" />
  17. <part name="game_id" type="xsd:int" />
  18. <part name="fromurl" type="xsd:string" />
  19. <part name="advertiser" type="xsd:string" />
  20. <part name="adFrom" type="xsd:string" />
  21. <part name="adType" type="xsd:string" />
  22. <part name="pageName" type="xsd:string" />
  23. <part name="wordid" type="xsd:string" />
  24. <part name="ip" type="xsd:string" />
  25. <part name="registertime" type="xsd:time" /></message>
  26. <message name="registerResponse">
  27. <part name="return" type="xsd:array" /></message>
  28. <message name="loginRequest">
  29. <part name="user" type="xsd:string" />
  30. <part name="pw" type="xsd:string" /></message>
  31. <message name="loginResponse">
  32. <part name="return" type="xsd:array" /></message>
  33. <portType name="CLDwsdlPortType">
  34. <operation name="register">
  35. <input message="tns:registerRequest"/>
  36. <output message="tns:registerResponse"/>
  37. </operation>
  38. <operation name="login">
  39. <input message="tns:loginRequest"/>
  40. <output message="tns:loginResponse"/>
  41. </operation>
  42. </portType>
  43. <binding name="CLDwsdlBinding" type="tns:CLDwsdlPortType">
  44. <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  45. <operation name="register">
  46. <soap:operation soapAction="urn:registerwsdl#register" style="rpc"/>
  47. <input><soap:body use="encoded" namespace="urn:registerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
  48. <output><soap:body use="encoded" namespace="urn:registerwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  49. </operation>
  50. <operation name="login">
  51. <soap:operation soapAction="urn:loginwsdl#login" style="rpc"/>
  52. <input><soap:body use="encoded" namespace="urn:loginwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
  53. <output><soap:body use="encoded" namespace="urn:loginwsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  54. </operation>
  55. </binding>
  56. <service name="CLDwsdl">
  57. <port name="CLDwsdlPort" binding="tns:CLDwsdlBinding">
  58. <soap:address location="http://cld.com/index.php/api/interfaceDetail"/>
  59. </port>
  60. </service>
  61. </definitions>