⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ticketsservice.wsdl

📁 2001年度.net程序大赛清华大学作品 网上订票系统
💻 WSDL
字号:
<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s0="http://tsinghua.edu.cn/DotNet/" targetNamespace="http://tsinghua.edu.cn/DotNet/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <types>
    <s:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tsinghua.edu.cn/DotNet/">
      <s:element name="Order">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="ocContent" nillable="true" type="s0:OrderContent" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="OrderContent">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="szUserID" nillable="true" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="szDestination" nillable="true" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="szTime" nillable="true" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="iCount" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="iMethod" type="s:int" />
        </s:sequence>
      </s:complexType>
      <s:element name="OrderResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="OrderResult" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="Test">
        <s:complexType />
      </s:element>
      <s:element name="TestResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="TestResult" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="int" type="s:int" />
    </s:schema>
  </types>
  <message name="OrderSoapIn">
    <part name="parameters" element="s0:Order" />
  </message>
  <message name="OrderSoapOut">
    <part name="parameters" element="s0:OrderResponse" />
  </message>
  <message name="TestSoapIn">
    <part name="parameters" element="s0:Test" />
  </message>
  <message name="TestSoapOut">
    <part name="parameters" element="s0:TestResponse" />
  </message>
  <message name="TestHttpGetIn" />
  <message name="TestHttpGetOut">
    <part name="Body" element="s0:int" />
  </message>
  <message name="TestHttpPostIn" />
  <message name="TestHttpPostOut">
    <part name="Body" element="s0:int" />
  </message>
  <portType name="ServiceSoap">
    <operation name="Order">
      <documentation>This function implements the tickets ordering</documentation>
      <input message="s0:OrderSoapIn" />
      <output message="s0:OrderSoapOut" />
    </operation>
    <operation name="Test">
      <documentation>This function implements the function testing</documentation>
      <input message="s0:TestSoapIn" />
      <output message="s0:TestSoapOut" />
    </operation>
  </portType>
  <portType name="ServiceHttpGet">
    <operation name="Test">
      <documentation>This function implements the function testing</documentation>
      <input message="s0:TestHttpGetIn" />
      <output message="s0:TestHttpGetOut" />
    </operation>
  </portType>
  <portType name="ServiceHttpPost">
    <operation name="Test">
      <documentation>This function implements the function testing</documentation>
      <input message="s0:TestHttpPostIn" />
      <output message="s0:TestHttpPostOut" />
    </operation>
  </portType>
  <binding name="ServiceSoap" type="s0:ServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="Order">
      <soap:operation soapAction="http://tsinghua.edu.cn/DotNet/Order" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
    <operation name="Test">
      <soap:operation soapAction="http://tsinghua.edu.cn/DotNet/Test" style="document" />
      <input>
        <soap:body use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
  </binding>
  <binding name="ServiceHttpGet" type="s0:ServiceHttpGet">
    <http:binding verb="GET" />
    <operation name="Test">
      <http:operation location="/Test" />
      <input>
        <http:urlEncoded />
      </input>
      <output>
        <mime:mimeXml part="Body" />
      </output>
    </operation>
  </binding>
  <binding name="ServiceHttpPost" type="s0:ServiceHttpPost">
    <http:binding verb="POST" />
    <operation name="Test">
      <http:operation location="/Test" />
      <input>
        <mime:content type="application/x-www-form-urlencoded" />
      </input>
      <output>
        <mime:mimeXml part="Body" />
      </output>
    </operation>
  </binding>
  <service name="Service">
    <port name="ServiceSoap" binding="s0:ServiceSoap">
      <soap:address location="http://ticket.test.com/TicketsService/TicketsService.asmx" />
    </port>
    <port name="ServiceHttpGet" binding="s0:ServiceHttpGet">
      <http:address location="http://ticket.test.com/TicketsService/TicketsService.asmx" />
    </port>
    <port name="ServiceHttpPost" binding="s0:ServiceHttpPost">
      <http:address location="http://ticket.test.com/TicketsService/TicketsService.asmx" />
    </port>
  </service>
</definitions>

⌨️ 快捷键说明

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