Service1.wsdl
Upload User: chinafred
Upload Date: 2007-08-14
Package Size: 10127k
Code Size: 4k
Category:

ADO-ODBC

Development Platform:

C#

  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://MyWebSite.com/XmlWebServices/" 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://MyWebSite.com/XmlWebServices/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  3.   <types>
  4.     <s:schema elementFormDefault="qualified" targetNamespace="http://MyWebSite.com/XmlWebServices/">
  5.       <s:element name="MycomputerTime">
  6.         <s:complexType />
  7.       </s:element>
  8.       <s:element name="MycomputerTimeResponse">
  9.         <s:complexType>
  10.           <s:sequence>
  11.             <s:element minOccurs="0" maxOccurs="1" name="MycomputerTimeResult" type="s:string" />
  12.           </s:sequence>
  13.         </s:complexType>
  14.       </s:element>
  15.       <s:element name="string" nillable="true" type="s:string" />
  16.     </s:schema>
  17.   </types>
  18.   <message name="MycomputerTimeSoapIn">
  19.     <part name="parameters" element="s0:MycomputerTime" />
  20.   </message>
  21.   <message name="MycomputerTimeSoapOut">
  22.     <part name="parameters" element="s0:MycomputerTimeResponse" />
  23.   </message>
  24.   <message name="MycomputerTimeHttpGetIn" />
  25.   <message name="MycomputerTimeHttpGetOut">
  26.     <part name="Body" element="s0:string" />
  27.   </message>
  28.   <message name="MycomputerTimeHttpPostIn" />
  29.   <message name="MycomputerTimeHttpPostOut">
  30.     <part name="Body" element="s0:string" />
  31.   </message>
  32.   <portType name="Service1Soap">
  33.     <operation name="MycomputerTime">
  34.       <documentation>This method will show my computer time</documentation>
  35.       <input message="s0:MycomputerTimeSoapIn" />
  36.       <output message="s0:MycomputerTimeSoapOut" />
  37.     </operation>
  38.   </portType>
  39.   <portType name="Service1HttpGet">
  40.     <operation name="MycomputerTime">
  41.       <documentation>This method will show my computer time</documentation>
  42.       <input message="s0:MycomputerTimeHttpGetIn" />
  43.       <output message="s0:MycomputerTimeHttpGetOut" />
  44.     </operation>
  45.   </portType>
  46.   <portType name="Service1HttpPost">
  47.     <operation name="MycomputerTime">
  48.       <documentation>This method will show my computer time</documentation>
  49.       <input message="s0:MycomputerTimeHttpPostIn" />
  50.       <output message="s0:MycomputerTimeHttpPostOut" />
  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="MycomputerTime">
  56.       <soap:operation soapAction="http://MyWebSite.com/XmlWebServices/MycomputerTime" style="document" />
  57.       <input>
  58.         <soap:body use="literal" />
  59.       </input>
  60.       <output>
  61.         <soap:body use="literal" />
  62.       </output>
  63.     </operation>
  64.   </binding>
  65.   <binding name="Service1HttpGet" type="s0:Service1HttpGet">
  66.     <http:binding verb="GET" />
  67.     <operation name="MycomputerTime">
  68.       <http:operation location="/MycomputerTime" />
  69.       <input>
  70.         <http:urlEncoded />
  71.       </input>
  72.       <output>
  73.         <mime:mimeXml part="Body" />
  74.       </output>
  75.     </operation>
  76.   </binding>
  77.   <binding name="Service1HttpPost" type="s0:Service1HttpPost">
  78.     <http:binding verb="POST" />
  79.     <operation name="MycomputerTime">
  80.       <http:operation location="/MycomputerTime" />
  81.       <input>
  82.         <mime:content type="application/x-www-form-urlencoded" />
  83.       </input>
  84.       <output>
  85.         <mime:mimeXml part="Body" />
  86.       </output>
  87.     </operation>
  88.   </binding>
  89.   <service name="Service1">
  90.     <documentation>those are my web services form my website.</documentation>
  91.     <port name="Service1Soap" binding="s0:Service1Soap">
  92.       <soap:address location="http://localhost/MyWebService1/Service1.asmx" />
  93.     </port>
  94.     <port name="Service1HttpGet" binding="s0:Service1HttpGet">
  95.       <http:address location="http://localhost/MyWebService1/Service1.asmx" />
  96.     </port>
  97.     <port name="Service1HttpPost" binding="s0:Service1HttpPost">
  98.       <http:address location="http://localhost/MyWebService1/Service1.asmx" />
  99.     </port>
  100.   </service>
  101. </definitions>