Reference.cs 11.2 KB
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:2.0.50727.3615
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace DMSSSOAUTOUPGRADER.DMSSSOService {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="http://sso.tnt.erry.com", ConfigurationName="DMSSSOService.SSOServicesPortType")]
    public interface SSOServicesPortType {
        
        // CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定属性为“System.Xml.Serialization.XmlElementAttribute”。
        [System.ServiceModel.OperationContractAttribute(Action="urn:validateUser", ReplyAction="urn:validateUserResponse")]
        [System.ServiceModel.XmlSerializerFormatAttribute()]
        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
        DMSSSOAUTOUPGRADER.DMSSSOService.validateUserResponse validateUser(DMSSSOAUTOUPGRADER.DMSSSOService.validateUserRequest request);
        
        // CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定属性为“System.Xml.Serialization.XmlElementAttribute”。
        [System.ServiceModel.OperationContractAttribute(Action="urn:getSystem", ReplyAction="urn:getSystemResponse")]
        [System.ServiceModel.XmlSerializerFormatAttribute()]
        [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
        DMSSSOAUTOUPGRADER.DMSSSOService.getSystemResponse getSystem(DMSSSOAUTOUPGRADER.DMSSSOService.getSystemRequest request);
        
        // CODEGEN: 操作 getUpdateInfor 以后生成的消息协定不是 RPC,也不是换行文档。
        [System.ServiceModel.OperationContractAttribute(Action="urn:getUpdateInfor", ReplyAction="urn:getUpdateInforResponse")]
        [System.ServiceModel.XmlSerializerFormatAttribute()]
        DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforResponse getUpdateInfor(DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforRequest request);
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="validateUser", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
    public partial class validateUserRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string userName;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=1)]
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string pass;
        
        public validateUserRequest() {
        }
        
        public validateUserRequest(string userName, string pass) {
            this.userName = userName;
            this.pass = pass;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="validateUserResponse", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
    public partial class validateUserResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute("return", IsNullable=true)]
        public object[] @return;
        
        public validateUserResponse() {
        }
        
        public validateUserResponse(object[] @return) {
            this.@return = @return;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="getSystem", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
    public partial class getSystemRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string userIdStr;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=1)]
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string userName;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=2)]
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string password;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=3)]
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
        public string language;
        
        public getSystemRequest() {
        }
        
        public getSystemRequest(string userIdStr, string userName, string password, string language) {
            this.userIdStr = userIdStr;
            this.userName = userName;
            this.password = password;
            this.language = language;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="getSystemResponse", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
    public partial class getSystemResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute("return", IsNullable=true)]
        public object[] @return;
        
        public getSystemResponse() {
        }
        
        public getSystemResponse(object[] @return) {
            this.@return = @return;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
    public partial class getUpdateInforRequest {
        
        public getUpdateInforRequest() {
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="getUpdateInforResponse", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
    public partial class getUpdateInforResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute("return", IsNullable=true)]
        public object[] @return;
        
        public getUpdateInforResponse() {
        }
        
        public getUpdateInforResponse(object[] @return) {
            this.@return = @return;
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public interface SSOServicesPortTypeChannel : DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class SSOServicesPortTypeClient : System.ServiceModel.ClientBase<DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType>, DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType {
        
        public SSOServicesPortTypeClient() {
        }
        
        public SSOServicesPortTypeClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public SSOServicesPortTypeClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public SSOServicesPortTypeClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public SSOServicesPortTypeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        DMSSSOAUTOUPGRADER.DMSSSOService.validateUserResponse DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType.validateUser(DMSSSOAUTOUPGRADER.DMSSSOService.validateUserRequest request) {
            return base.Channel.validateUser(request);
        }
        
        public object[] validateUser(string userName, string pass) {
            DMSSSOAUTOUPGRADER.DMSSSOService.validateUserRequest inValue = new DMSSSOAUTOUPGRADER.DMSSSOService.validateUserRequest();
            inValue.userName = userName;
            inValue.pass = pass;
            DMSSSOAUTOUPGRADER.DMSSSOService.validateUserResponse retVal = ((DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType)(this)).validateUser(inValue);
            return retVal.@return;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        DMSSSOAUTOUPGRADER.DMSSSOService.getSystemResponse DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType.getSystem(DMSSSOAUTOUPGRADER.DMSSSOService.getSystemRequest request) {
            return base.Channel.getSystem(request);
        }
        
        public object[] getSystem(string userIdStr, string userName, string password, string language) {
            DMSSSOAUTOUPGRADER.DMSSSOService.getSystemRequest inValue = new DMSSSOAUTOUPGRADER.DMSSSOService.getSystemRequest();
            inValue.userIdStr = userIdStr;
            inValue.userName = userName;
            inValue.password = password;
            inValue.language = language;
            DMSSSOAUTOUPGRADER.DMSSSOService.getSystemResponse retVal = ((DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType)(this)).getSystem(inValue);
            return retVal.@return;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforResponse DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType.getUpdateInfor(DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforRequest request) {
            return base.Channel.getUpdateInfor(request);
        }
        
        public object[] getUpdateInfor() {
            DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforRequest inValue = new DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforRequest();
            DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforResponse retVal = ((DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType)(this)).getUpdateInfor(inValue);
            return retVal.@return;
        }
    }
}