Service1.wsdl
上传用户:yiyuerguo
上传日期:2014-09-27
资源大小:3781k
文件大小:3k
源码类别:

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://localhost/coin/WebServices/" 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://localhost/coin/WebServices/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  3.   <types>
  4.     <s:schema elementFormDefault="qualified" targetNamespace="http://localhost/coin/WebServices/">
  5.       <s:element name="HelloWorld">
  6.         <s:complexType />
  7.       </s:element>
  8.       <s:element name="HelloWorldResponse">
  9.         <s:complexType>
  10.           <s:sequence>
  11.             <s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:string" />
  12.           </s:sequence>
  13.         </s:complexType>
  14.       </s:element>
  15.       <s:element name="change">
  16.         <s:complexType>
  17.           <s:sequence>
  18.             <s:element minOccurs="1" maxOccurs="1" name="ddgree" type="s:double" />
  19.           </s:sequence>
  20.         </s:complexType>
  21.       </s:element>
  22.       <s:element name="changeResponse">
  23.         <s:complexType>
  24.           <s:sequence>
  25.             <s:element minOccurs="1" maxOccurs="1" name="changeResult" type="s:double" />
  26.           </s:sequence>
  27.         </s:complexType>
  28.       </s:element>
  29.     </s:schema>
  30.   </types>
  31.   <message name="HelloWorldSoapIn">
  32.     <part name="parameters" element="s0:HelloWorld" />
  33.   </message>
  34.   <message name="HelloWorldSoapOut">
  35.     <part name="parameters" element="s0:HelloWorldResponse" />
  36.   </message>
  37.   <message name="changeSoapIn">
  38.     <part name="parameters" element="s0:change" />
  39.   </message>
  40.   <message name="changeSoapOut">
  41.     <part name="parameters" element="s0:changeResponse" />
  42.   </message>
  43.   <portType name="Service1Soap">
  44.     <operation name="HelloWorld">
  45.       <input message="s0:HelloWorldSoapIn" />
  46.       <output message="s0:HelloWorldSoapOut" />
  47.     </operation>
  48.     <operation name="change">
  49.       <input message="s0:changeSoapIn" />
  50.       <output message="s0:changeSoapOut" />
  51.     </operation>
  52.   </portType>
  53.   <binding name="Service1Soap" type="s0:Service1Soap">
  54.     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
  55.     <operation name="HelloWorld">
  56.       <soap:operation soapAction="http://localhost/coin/WebServices/HelloWorld" style="document" />
  57.       <input>
  58.         <soap:body use="literal" />
  59.       </input>
  60.       <output>
  61.         <soap:body use="literal" />
  62.       </output>
  63.     </operation>
  64.     <operation name="change">
  65.       <soap:operation soapAction="http://localhost/coin/WebServices/change" style="document" />
  66.       <input>
  67.         <soap:body use="literal" />
  68.       </input>
  69.       <output>
  70.         <soap:body use="literal" />
  71.       </output>
  72.     </operation>
  73.   </binding>
  74.   <service name="Service1">
  75.     <documentation>Displays a Hello World Greeting</documentation>
  76.     <port name="Service1Soap" binding="s0:Service1Soap">
  77.       <soap:address location="http://localhost/coin/Service1.asmx" />
  78.     </port>
  79.   </service>
  80. </definitions>