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

C#编程

开发平台:

Others

  1. //------------------------------------------------------------------------------
  2. // <autogenerated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version: 1.1.4322.573
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if 
  7. //     the code is regenerated.
  8. // </autogenerated>
  9. //------------------------------------------------------------------------------
  10. // 
  11. // This source code was auto-generated by wsdl, Version=1.1.4322.573.
  12. // 
  13. using System.Diagnostics;
  14. using System.Xml.Serialization;
  15. using System;
  16. using System.Web.Services.Protocols;
  17. using System.ComponentModel;
  18. using System.Web.Services;
  19. /// <remarks/>
  20. [System.Diagnostics.DebuggerStepThroughAttribute()]
  21. [System.ComponentModel.DesignerCategoryAttribute("code")]
  22. [System.Web.Services.WebServiceBindingAttribute(Name="Service1Soap", Namespace="http://tempuri.org/")]
  23. public class Service1 : System.Web.Services.Protocols.SoapHttpClientProtocol {
  24.     
  25.     /// <remarks/>
  26.     public Service1() {
  27.         this.Url = "http://localhost/PCSWebSrv1/Service1.asmx";
  28.     }
  29.     
  30.     /// <remarks/>
  31.     [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CanWeFixIt", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  32.     public string CanWeFixIt() {
  33.         object[] results = this.Invoke("CanWeFixIt", new object[0]);
  34.         return ((string)(results[0]));
  35.     }
  36.     
  37.     /// <remarks/>
  38.     public System.IAsyncResult BeginCanWeFixIt(System.AsyncCallback callback, object asyncState) {
  39.         return this.BeginInvoke("CanWeFixIt", new object[0], callback, asyncState);
  40.     }
  41.     
  42.     /// <remarks/>
  43.     public string EndCanWeFixIt(System.IAsyncResult asyncResult) {
  44.         object[] results = this.EndInvoke(asyncResult);
  45.         return ((string)(results[0]));
  46.     }
  47. }