Service1.wsdl
上传用户:lxycoco
上传日期:2022-07-21
资源大小:38457k
文件大小:4k
源码类别:

C#编程

开发平台:

Others

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://tempuri.org/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  3.   <types>
  4.     <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
  5.       <s:import namespace="http://www.w3.org/2001/XMLSchema" />
  6.       <s:element name="GetData">
  7.         <s:complexType />
  8.       </s:element>
  9.       <s:element name="GetDataResponse">
  10.         <s:complexType>
  11.           <s:sequence>
  12.             <s:element minOccurs="0" maxOccurs="1" name="GetDataResult">
  13.               <s:complexType>
  14.                 <s:sequence>
  15.                   <s:element ref="s:schema" />
  16.                   <s:any />
  17.                 </s:sequence>
  18.               </s:complexType>
  19.             </s:element>
  20.           </s:sequence>
  21.         </s:complexType>
  22.       </s:element>
  23.       <s:element name="AddEvent">
  24.         <s:complexType>
  25.           <s:sequence>
  26.             <s:element minOccurs="0" maxOccurs="1" name="eventName" type="s:string" />
  27.             <s:element minOccurs="0" maxOccurs="1" name="eventRoom" type="s:string" />
  28.             <s:element minOccurs="0" maxOccurs="1" name="eventAttendees" type="s:string" />
  29.             <s:element minOccurs="0" maxOccurs="1" name="eventDate" type="s:string" />
  30.           </s:sequence>
  31.         </s:complexType>
  32.       </s:element>
  33.       <s:element name="AddEventResponse">
  34.         <s:complexType>
  35.           <s:sequence>
  36.             <s:element minOccurs="1" maxOccurs="1" name="AddEventResult" type="s:int" />
  37.           </s:sequence>
  38.         </s:complexType>
  39.       </s:element>
  40.     </s:schema>
  41.   </types>
  42.   <message name="GetDataSoapIn">
  43.     <part name="parameters" element="s0:GetData" />
  44.   </message>
  45.   <message name="GetDataSoapOut">
  46.     <part name="parameters" element="s0:GetDataResponse" />
  47.   </message>
  48.   <message name="AddEventSoapIn">
  49.     <part name="parameters" element="s0:AddEvent" />
  50.   </message>
  51.   <message name="AddEventSoapOut">
  52.     <part name="parameters" element="s0:AddEventResponse" />
  53.   </message>
  54.   <portType name="Service1Soap">
  55.     <operation name="GetData">
  56.       <input message="s0:GetDataSoapIn" />
  57.       <output message="s0:GetDataSoapOut" />
  58.     </operation>
  59.     <operation name="AddEvent">
  60.       <input message="s0:AddEventSoapIn" />
  61.       <output message="s0:AddEventSoapOut" />
  62.     </operation>
  63.   </portType>
  64.   <binding name="Service1Soap" type="s0:Service1Soap">
  65.     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
  66.     <operation name="GetData">
  67.       <soap:operation soapAction="http://tempuri.org/GetData" style="document" />
  68.       <input>
  69.         <soap:body use="literal" />
  70.       </input>
  71.       <output>
  72.         <soap:body use="literal" />
  73.       </output>
  74.     </operation>
  75.     <operation name="AddEvent">
  76.       <soap:operation soapAction="http://tempuri.org/AddEvent" style="document" />
  77.       <input>
  78.         <soap:body use="literal" />
  79.       </input>
  80.       <output>
  81.         <soap:body use="literal" />
  82.       </output>
  83.     </operation>
  84.   </binding>
  85.   <service name="Service1">
  86.     <port name="Service1Soap" binding="s0:Service1Soap">
  87.       <soap:address location="http://localhost/PCSWebSrv2/Service1.asmx" />
  88.     </port>
  89.   </service>
  90. </definitions>