webscjjer.cs

来自「通用用户系统通用用户系统通用用户系统通用用户系统」· CS 代码 · 共 85 行

CS
85
字号
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.573
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// 此源代码由 wsdl, Version=1.1.4322.573 自动生成。
// 
namespace Webs {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="WebsCjjerSoap", Namespace="http://www.cjjer.com/webs/")]
    public class WebsCjjer : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public WebsCjjer() {
            string urlSetting = System.Configuration.ConfigurationSettings.AppSettings["WebsUser"];
            if ((urlSetting != null)) {
                this.Url = urlSetting;
            }
            else {
                this.Url = "http://s:81/userapp/login.asmx";
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.cjjer.com/webs/Login", RequestNamespace="http://www.cjjer.com/webs/", ResponseNamespace="http://www.cjjer.com/webs/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int Login(string UserName, string UserPassword) {
            object[] results = this.Invoke("Login", new object[] {
                        UserName,
                        UserPassword});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginLogin(string UserName, string UserPassword, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("Login", new object[] {
                        UserName,
                        UserPassword}, callback, asyncState);
        }
        
        /// <remarks/>
        public int EndLogin(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.cjjer.com/webs/AddNew", RequestNamespace="http://www.cjjer.com/webs/", ResponseNamespace="http://www.cjjer.com/webs/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int AddNew(string UserName, string UserPassword) {
            object[] results = this.Invoke("AddNew", new object[] {
                        UserName,
                        UserPassword});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginAddNew(string UserName, string UserPassword, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("AddNew", new object[] {
                        UserName,
                        UserPassword}, callback, asyncState);
        }
        
        /// <remarks/>
        public int EndAddNew(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
    }
}

⌨️ 快捷键说明

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