Reference.cs
上传用户:lxycoco
上传日期:2022-07-21
资源大小:38457k
文件大小:4k
- //------------------------------------------------------------------------------
- // <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>
- //------------------------------------------------------------------------------
- //
- // This source code was auto-generated by Microsoft.VSDesigner, Version 1.1.4322.573.
- //
- namespace PCSWebClient3.authenticateService {
- 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="Service1Soap", Namespace="http://tempuri.org/")]
- public class Service1 : System.Web.Services.Protocols.SoapHttpClientProtocol {
-
- public AuthenticationToken AuthenticationTokenValue;
-
- /// <remarks/>
- public Service1() {
- this.Url = "http://localhost/PCSWebSrv3/Service1.asmx";
- }
-
- /// <remarks/>
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Login", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public System.Guid Login(string userName, string password) {
- object[] results = this.Invoke("Login", new object[] {
- userName,
- password});
- return ((System.Guid)(results[0]));
- }
-
- /// <remarks/>
- public System.IAsyncResult BeginLogin(string userName, string password, System.AsyncCallback callback, object asyncState) {
- return this.BeginInvoke("Login", new object[] {
- userName,
- password}, callback, asyncState);
- }
-
- /// <remarks/>
- public System.Guid EndLogin(System.IAsyncResult asyncResult) {
- object[] results = this.EndInvoke(asyncResult);
- return ((System.Guid)(results[0]));
- }
-
- /// <remarks/>
- [System.Web.Services.Protocols.SoapHeaderAttribute("AuthenticationTokenValue")]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DoSomething", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- public string DoSomething() {
- object[] results = this.Invoke("DoSomething", new object[0]);
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public System.IAsyncResult BeginDoSomething(System.AsyncCallback callback, object asyncState) {
- return this.BeginInvoke("DoSomething", new object[0], callback, asyncState);
- }
-
- /// <remarks/>
- public string EndDoSomething(System.IAsyncResult asyncResult) {
- object[] results = this.EndInvoke(asyncResult);
- return ((string)(results[0]));
- }
- }
-
- /// <remarks/>
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
- [System.Xml.Serialization.XmlRootAttribute(Namespace="http://tempuri.org/", IsNullable=false)]
- public class AuthenticationToken : System.Web.Services.Protocols.SoapHeader {
-
- /// <remarks/>
- public System.Guid InnerToken;
- }
- }