|
@@ -1,1163 +0,0 @@
|
|
|
-//------------------------------------------------------------------------------
|
|
|
|
|
-// <auto-generated>
|
|
|
|
|
-// This code was generated by a tool.
|
|
|
|
|
-//
|
|
|
|
|
-// Changes to this file may cause incorrect behavior and will be lost if
|
|
|
|
|
-// the code is regenerated.
|
|
|
|
|
-// </auto-generated>
|
|
|
|
|
-//------------------------------------------------------------------------------
|
|
|
|
|
-
|
|
|
|
|
-namespace SvVsa
|
|
|
|
|
-{
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ServiceModel.ServiceContractAttribute(Namespace="http://passport.viettel.com/", ConfigurationName="SvVsa.passportWS")]
|
|
|
|
|
- public interface passportWS
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/validateRequest", ReplyAction="http://passport.viettel.com/passportWS/validateResponse")]
|
|
|
|
|
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
|
|
|
|
- [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
|
|
|
|
- SvVsa.validateResponse validate(SvVsa.validateRequest request);
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/validateRequest", ReplyAction="http://passport.viettel.com/passportWS/validateResponse")]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.validateResponse> validateAsync(SvVsa.validateRequest request);
|
|
|
|
|
-
|
|
|
|
|
- // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getAppFunctionsRequest", ReplyAction="http://passport.viettel.com/passportWS/getAppFunctionsResponse")]
|
|
|
|
|
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
|
|
|
|
- [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
|
|
|
|
- SvVsa.getAppFunctionsResponse getAppFunctions(SvVsa.getAppFunctionsRequest request);
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getAppFunctionsRequest", ReplyAction="http://passport.viettel.com/passportWS/getAppFunctionsResponse")]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.getAppFunctionsResponse> getAppFunctionsAsync(SvVsa.getAppFunctionsRequest request);
|
|
|
|
|
-
|
|
|
|
|
- // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/validateIncludeIpRequest", ReplyAction="http://passport.viettel.com/passportWS/validateIncludeIpResponse")]
|
|
|
|
|
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
|
|
|
|
- [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
|
|
|
|
- SvVsa.validateIncludeIpResponse validateIncludeIp(SvVsa.validateIncludeIpRequest request);
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/validateIncludeIpRequest", ReplyAction="http://passport.viettel.com/passportWS/validateIncludeIpResponse")]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.validateIncludeIpResponse> validateIncludeIpAsync(SvVsa.validateIncludeIpRequest request);
|
|
|
|
|
-
|
|
|
|
|
- // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getRolesOfAppRequest", ReplyAction="http://passport.viettel.com/passportWS/getRolesOfAppResponse")]
|
|
|
|
|
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
|
|
|
|
- [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
|
|
|
|
- SvVsa.getRolesOfAppResponse getRolesOfApp(SvVsa.getRolesOfAppRequest request);
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getRolesOfAppRequest", ReplyAction="http://passport.viettel.com/passportWS/getRolesOfAppResponse")]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.getRolesOfAppResponse> getRolesOfAppAsync(SvVsa.getRolesOfAppRequest request);
|
|
|
|
|
-
|
|
|
|
|
- // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/changePassRequest", ReplyAction="http://passport.viettel.com/passportWS/changePassResponse")]
|
|
|
|
|
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateIncludeIpResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateIncludeIp))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAppFunctionsResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAppFunctions))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getRolesOfAppResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getRolesOfApp))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(changePassResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(changePass))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAllowedAppResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAllowedApp))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validate))]
|
|
|
|
|
- [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
|
|
|
|
- SvVsa.changePassResponse1 changePass(SvVsa.changePassRequest request);
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/changePassRequest", ReplyAction="http://passport.viettel.com/passportWS/changePassResponse")]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.changePassResponse1> changePassAsync(SvVsa.changePassRequest request);
|
|
|
|
|
-
|
|
|
|
|
- // CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'Microsoft.Xml.Serialization.XmlElementAttribute'.
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getAllowedAppRequest", ReplyAction="http://passport.viettel.com/passportWS/getAllowedAppResponse")]
|
|
|
|
|
- [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateIncludeIpResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateIncludeIp))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAppFunctionsResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAppFunctions))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getRolesOfAppResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getRolesOfApp))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(changePassResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(changePass))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAllowedAppResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(getAllowedApp))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validateResponse))]
|
|
|
|
|
- [System.ServiceModel.ServiceKnownTypeAttribute(typeof(validate))]
|
|
|
|
|
- [return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
|
|
|
|
- SvVsa.getAllowedAppResponse1 getAllowedApp(SvVsa.getAllowedAppRequest request);
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.OperationContractAttribute(Action="http://passport.viettel.com/passportWS/getAllowedAppRequest", ReplyAction="http://passport.viettel.com/passportWS/getAllowedAppResponse")]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.getAllowedAppResponse1> getAllowedAppAsync(SvVsa.getAllowedAppRequest request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="validate", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class validateRequest
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string userName;
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=1)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string password;
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=2)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string domainCode;
|
|
|
|
|
-
|
|
|
|
|
- public validateRequest()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public validateRequest(string userName, string password, string domainCode)
|
|
|
|
|
- {
|
|
|
|
|
- this.userName = userName;
|
|
|
|
|
- this.password = password;
|
|
|
|
|
- this.domainCode = domainCode;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="validateResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class validateResponse
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string @return;
|
|
|
|
|
-
|
|
|
|
|
- public validateResponse()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public validateResponse(string @return)
|
|
|
|
|
- {
|
|
|
|
|
- this.@return = @return;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="getAppFunctions", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class getAppFunctionsRequest
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string domainCode;
|
|
|
|
|
-
|
|
|
|
|
- public getAppFunctionsRequest()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public getAppFunctionsRequest(string domainCode)
|
|
|
|
|
- {
|
|
|
|
|
- this.domainCode = domainCode;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="getAppFunctionsResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class getAppFunctionsResponse
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string @return;
|
|
|
|
|
-
|
|
|
|
|
- public getAppFunctionsResponse()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public getAppFunctionsResponse(string @return)
|
|
|
|
|
- {
|
|
|
|
|
- this.@return = @return;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="validateIncludeIp", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class validateIncludeIpRequest
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string userName;
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=1)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string password;
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=2)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string domainCode;
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=3)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string ipCheck;
|
|
|
|
|
-
|
|
|
|
|
- public validateIncludeIpRequest()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public validateIncludeIpRequest(string userName, string password, string domainCode, string ipCheck)
|
|
|
|
|
- {
|
|
|
|
|
- this.userName = userName;
|
|
|
|
|
- this.password = password;
|
|
|
|
|
- this.domainCode = domainCode;
|
|
|
|
|
- this.ipCheck = ipCheck;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="validateIncludeIpResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class validateIncludeIpResponse
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string @return;
|
|
|
|
|
-
|
|
|
|
|
- public validateIncludeIpResponse()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public validateIncludeIpResponse(string @return)
|
|
|
|
|
- {
|
|
|
|
|
- this.@return = @return;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="getRolesOfApp", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class getRolesOfAppRequest
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string domainCode;
|
|
|
|
|
-
|
|
|
|
|
- public getRolesOfAppRequest()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public getRolesOfAppRequest(string domainCode)
|
|
|
|
|
- {
|
|
|
|
|
- this.domainCode = domainCode;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="getRolesOfAppResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class getRolesOfAppResponse
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string @return;
|
|
|
|
|
-
|
|
|
|
|
- public getRolesOfAppResponse()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public getRolesOfAppResponse(string @return)
|
|
|
|
|
- {
|
|
|
|
|
- this.@return = @return;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class response
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private errorCode errorCodeField;
|
|
|
|
|
-
|
|
|
|
|
- private object[] valuesField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public errorCode errorCode
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.errorCodeField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.errorCodeField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute("values", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true, Order=1)]
|
|
|
|
|
- public object[] values
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.valuesField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.valuesField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class errorCode
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private int codeField;
|
|
|
|
|
-
|
|
|
|
|
- private string descriptionField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public int code
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.codeField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.codeField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
|
|
|
|
- public string description
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.descriptionField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.descriptionField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class validateIncludeIpResponse1
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string returnField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string @return
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.returnField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.returnField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class validateIncludeIp
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string userNameField;
|
|
|
|
|
-
|
|
|
|
|
- private string passwordField;
|
|
|
|
|
-
|
|
|
|
|
- private string domainCodeField;
|
|
|
|
|
-
|
|
|
|
|
- private string ipCheckField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string userName
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.userNameField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.userNameField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
|
|
|
|
- public string password
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.passwordField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.passwordField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
|
|
|
|
- public string domainCode
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.domainCodeField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.domainCodeField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
|
|
|
|
- public string ipCheck
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.ipCheckField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.ipCheckField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class getAppFunctionsResponse1
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string returnField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string @return
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.returnField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.returnField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class getAppFunctions
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string domainCodeField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string domainCode
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.domainCodeField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.domainCodeField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class getRolesOfAppResponse1
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string returnField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string @return
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.returnField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.returnField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class getRolesOfApp
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string domainCodeField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string domainCode
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.domainCodeField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.domainCodeField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class changePassResponse
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private response returnField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public response @return
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.returnField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.returnField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class changePass
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string userNameField;
|
|
|
|
|
-
|
|
|
|
|
- private string oldPassField;
|
|
|
|
|
-
|
|
|
|
|
- private string newPassField;
|
|
|
|
|
-
|
|
|
|
|
- private string repeatPassField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string userName
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.userNameField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.userNameField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
|
|
|
|
- public string oldPass
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.oldPassField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.oldPassField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
|
|
|
|
- public string newPass
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.newPassField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.newPassField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
|
|
|
|
- public string repeatPass
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.repeatPassField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.repeatPassField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class getAllowedAppResponse
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string returnField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string @return
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.returnField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.returnField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class getAllowedApp
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string userNameField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string userName
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.userNameField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.userNameField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class validateResponse1
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string returnField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string @return
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.returnField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.returnField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://passport.viettel.com/")]
|
|
|
|
|
- public partial class validate
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- private string userNameField;
|
|
|
|
|
-
|
|
|
|
|
- private string passwordField;
|
|
|
|
|
-
|
|
|
|
|
- private string domainCodeField;
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
|
|
|
|
- public string userName
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.userNameField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.userNameField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
|
|
|
|
- public string password
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.passwordField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.passwordField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /// <remarks/>
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
|
|
|
|
- public string domainCode
|
|
|
|
|
- {
|
|
|
|
|
- get
|
|
|
|
|
- {
|
|
|
|
|
- return this.domainCodeField;
|
|
|
|
|
- }
|
|
|
|
|
- set
|
|
|
|
|
- {
|
|
|
|
|
- this.domainCodeField = value;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="changePass", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class changePassRequest
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string userName;
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=1)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string oldPass;
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=2)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string newPass;
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=3)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string repeatPass;
|
|
|
|
|
-
|
|
|
|
|
- public changePassRequest()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public changePassRequest(string userName, string oldPass, string newPass, string repeatPass)
|
|
|
|
|
- {
|
|
|
|
|
- this.userName = userName;
|
|
|
|
|
- this.oldPass = oldPass;
|
|
|
|
|
- this.newPass = newPass;
|
|
|
|
|
- this.repeatPass = repeatPass;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="changePassResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class changePassResponse1
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public SvVsa.response @return;
|
|
|
|
|
-
|
|
|
|
|
- public changePassResponse1()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public changePassResponse1(SvVsa.response @return)
|
|
|
|
|
- {
|
|
|
|
|
- this.@return = @return;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="getAllowedApp", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class getAllowedAppRequest
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string userName;
|
|
|
|
|
-
|
|
|
|
|
- public getAllowedAppRequest()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public getAllowedAppRequest(string userName)
|
|
|
|
|
- {
|
|
|
|
|
- this.userName = userName;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- [System.ServiceModel.MessageContractAttribute(WrapperName="getAllowedAppResponse", WrapperNamespace="http://passport.viettel.com/", IsWrapped=true)]
|
|
|
|
|
- public partial class getAllowedAppResponse1
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://passport.viettel.com/", Order=0)]
|
|
|
|
|
- [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
|
|
|
- public string @return;
|
|
|
|
|
-
|
|
|
|
|
- public getAllowedAppResponse1()
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public getAllowedAppResponse1(string @return)
|
|
|
|
|
- {
|
|
|
|
|
- this.@return = @return;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- public interface passportWSChannel : SvVsa.passportWS, System.ServiceModel.IClientChannel
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
- [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
|
|
|
- public partial class passportWSClient : System.ServiceModel.ClientBase<SvVsa.passportWS>, SvVsa.passportWS
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- /// <summary>
|
|
|
|
|
- /// Implement this partial method to configure the service endpoint.
|
|
|
|
|
- /// </summary>
|
|
|
|
|
- /// <param name="serviceEndpoint">The endpoint to configure</param>
|
|
|
|
|
- /// <param name="clientCredentials">The client credentials</param>
|
|
|
|
|
- static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
|
|
|
|
|
-
|
|
|
|
|
- public passportWSClient() :
|
|
|
|
|
- base(passportWSClient.GetDefaultBinding(), passportWSClient.GetDefaultEndpointAddress())
|
|
|
|
|
- {
|
|
|
|
|
- this.Endpoint.Name = EndpointConfiguration.passportWSPort.ToString();
|
|
|
|
|
- ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public passportWSClient(EndpointConfiguration endpointConfiguration) :
|
|
|
|
|
- base(passportWSClient.GetBindingForEndpoint(endpointConfiguration), passportWSClient.GetEndpointAddress(endpointConfiguration))
|
|
|
|
|
- {
|
|
|
|
|
- this.Endpoint.Name = endpointConfiguration.ToString();
|
|
|
|
|
- ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public passportWSClient(EndpointConfiguration endpointConfiguration, string remoteAddress) :
|
|
|
|
|
- base(passportWSClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
|
|
|
|
|
- {
|
|
|
|
|
- this.Endpoint.Name = endpointConfiguration.ToString();
|
|
|
|
|
- ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public passportWSClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
|
|
|
- base(passportWSClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
|
|
|
|
|
- {
|
|
|
|
|
- this.Endpoint.Name = endpointConfiguration.ToString();
|
|
|
|
|
- ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public passportWSClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
|
|
|
- base(binding, remoteAddress)
|
|
|
|
|
- {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- SvVsa.validateResponse SvVsa.passportWS.validate(SvVsa.validateRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.validate(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public string validate(string userName, string password, string domainCode)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.validateRequest inValue = new SvVsa.validateRequest();
|
|
|
|
|
- inValue.userName = userName;
|
|
|
|
|
- inValue.password = password;
|
|
|
|
|
- inValue.domainCode = domainCode;
|
|
|
|
|
- SvVsa.validateResponse retVal = ((SvVsa.passportWS)(this)).validate(inValue);
|
|
|
|
|
- return retVal.@return;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.validateResponse> SvVsa.passportWS.validateAsync(SvVsa.validateRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.validateAsync(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public System.Threading.Tasks.Task<SvVsa.validateResponse> validateAsync(string userName, string password, string domainCode)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.validateRequest inValue = new SvVsa.validateRequest();
|
|
|
|
|
- inValue.userName = userName;
|
|
|
|
|
- inValue.password = password;
|
|
|
|
|
- inValue.domainCode = domainCode;
|
|
|
|
|
- return ((SvVsa.passportWS)(this)).validateAsync(inValue);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- SvVsa.getAppFunctionsResponse SvVsa.passportWS.getAppFunctions(SvVsa.getAppFunctionsRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.getAppFunctions(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public string getAppFunctions(string domainCode)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.getAppFunctionsRequest inValue = new SvVsa.getAppFunctionsRequest();
|
|
|
|
|
- inValue.domainCode = domainCode;
|
|
|
|
|
- SvVsa.getAppFunctionsResponse retVal = ((SvVsa.passportWS)(this)).getAppFunctions(inValue);
|
|
|
|
|
- return retVal.@return;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.getAppFunctionsResponse> SvVsa.passportWS.getAppFunctionsAsync(SvVsa.getAppFunctionsRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.getAppFunctionsAsync(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public System.Threading.Tasks.Task<SvVsa.getAppFunctionsResponse> getAppFunctionsAsync(string domainCode)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.getAppFunctionsRequest inValue = new SvVsa.getAppFunctionsRequest();
|
|
|
|
|
- inValue.domainCode = domainCode;
|
|
|
|
|
- return ((SvVsa.passportWS)(this)).getAppFunctionsAsync(inValue);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- SvVsa.validateIncludeIpResponse SvVsa.passportWS.validateIncludeIp(SvVsa.validateIncludeIpRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.validateIncludeIp(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public string validateIncludeIp(string userName, string password, string domainCode, string ipCheck)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.validateIncludeIpRequest inValue = new SvVsa.validateIncludeIpRequest();
|
|
|
|
|
- inValue.userName = userName;
|
|
|
|
|
- inValue.password = password;
|
|
|
|
|
- inValue.domainCode = domainCode;
|
|
|
|
|
- inValue.ipCheck = ipCheck;
|
|
|
|
|
- SvVsa.validateIncludeIpResponse retVal = ((SvVsa.passportWS)(this)).validateIncludeIp(inValue);
|
|
|
|
|
- return retVal.@return;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.validateIncludeIpResponse> SvVsa.passportWS.validateIncludeIpAsync(SvVsa.validateIncludeIpRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.validateIncludeIpAsync(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public System.Threading.Tasks.Task<SvVsa.validateIncludeIpResponse> validateIncludeIpAsync(string userName, string password, string domainCode, string ipCheck)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.validateIncludeIpRequest inValue = new SvVsa.validateIncludeIpRequest();
|
|
|
|
|
- inValue.userName = userName;
|
|
|
|
|
- inValue.password = password;
|
|
|
|
|
- inValue.domainCode = domainCode;
|
|
|
|
|
- inValue.ipCheck = ipCheck;
|
|
|
|
|
- return ((SvVsa.passportWS)(this)).validateIncludeIpAsync(inValue);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- SvVsa.getRolesOfAppResponse SvVsa.passportWS.getRolesOfApp(SvVsa.getRolesOfAppRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.getRolesOfApp(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public string getRolesOfApp(string domainCode)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.getRolesOfAppRequest inValue = new SvVsa.getRolesOfAppRequest();
|
|
|
|
|
- inValue.domainCode = domainCode;
|
|
|
|
|
- SvVsa.getRolesOfAppResponse retVal = ((SvVsa.passportWS)(this)).getRolesOfApp(inValue);
|
|
|
|
|
- return retVal.@return;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.getRolesOfAppResponse> SvVsa.passportWS.getRolesOfAppAsync(SvVsa.getRolesOfAppRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.getRolesOfAppAsync(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public System.Threading.Tasks.Task<SvVsa.getRolesOfAppResponse> getRolesOfAppAsync(string domainCode)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.getRolesOfAppRequest inValue = new SvVsa.getRolesOfAppRequest();
|
|
|
|
|
- inValue.domainCode = domainCode;
|
|
|
|
|
- return ((SvVsa.passportWS)(this)).getRolesOfAppAsync(inValue);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- SvVsa.changePassResponse1 SvVsa.passportWS.changePass(SvVsa.changePassRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.changePass(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public SvVsa.response changePass(string userName, string oldPass, string newPass, string repeatPass)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.changePassRequest inValue = new SvVsa.changePassRequest();
|
|
|
|
|
- inValue.userName = userName;
|
|
|
|
|
- inValue.oldPass = oldPass;
|
|
|
|
|
- inValue.newPass = newPass;
|
|
|
|
|
- inValue.repeatPass = repeatPass;
|
|
|
|
|
- SvVsa.changePassResponse1 retVal = ((SvVsa.passportWS)(this)).changePass(inValue);
|
|
|
|
|
- return retVal.@return;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.changePassResponse1> SvVsa.passportWS.changePassAsync(SvVsa.changePassRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.changePassAsync(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public System.Threading.Tasks.Task<SvVsa.changePassResponse1> changePassAsync(string userName, string oldPass, string newPass, string repeatPass)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.changePassRequest inValue = new SvVsa.changePassRequest();
|
|
|
|
|
- inValue.userName = userName;
|
|
|
|
|
- inValue.oldPass = oldPass;
|
|
|
|
|
- inValue.newPass = newPass;
|
|
|
|
|
- inValue.repeatPass = repeatPass;
|
|
|
|
|
- return ((SvVsa.passportWS)(this)).changePassAsync(inValue);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- SvVsa.getAllowedAppResponse1 SvVsa.passportWS.getAllowedApp(SvVsa.getAllowedAppRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.getAllowedApp(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public string getAllowedApp(string userName)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.getAllowedAppRequest inValue = new SvVsa.getAllowedAppRequest();
|
|
|
|
|
- inValue.userName = userName;
|
|
|
|
|
- SvVsa.getAllowedAppResponse1 retVal = ((SvVsa.passportWS)(this)).getAllowedApp(inValue);
|
|
|
|
|
- return retVal.@return;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
- System.Threading.Tasks.Task<SvVsa.getAllowedAppResponse1> SvVsa.passportWS.getAllowedAppAsync(SvVsa.getAllowedAppRequest request)
|
|
|
|
|
- {
|
|
|
|
|
- return base.Channel.getAllowedAppAsync(request);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public System.Threading.Tasks.Task<SvVsa.getAllowedAppResponse1> getAllowedAppAsync(string userName)
|
|
|
|
|
- {
|
|
|
|
|
- SvVsa.getAllowedAppRequest inValue = new SvVsa.getAllowedAppRequest();
|
|
|
|
|
- inValue.userName = userName;
|
|
|
|
|
- return ((SvVsa.passportWS)(this)).getAllowedAppAsync(inValue);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public virtual System.Threading.Tasks.Task OpenAsync()
|
|
|
|
|
- {
|
|
|
|
|
- return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public virtual System.Threading.Tasks.Task CloseAsync()
|
|
|
|
|
- {
|
|
|
|
|
- return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
|
|
|
|
|
- {
|
|
|
|
|
- if ((endpointConfiguration == EndpointConfiguration.passportWSPort))
|
|
|
|
|
- {
|
|
|
|
|
- System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding();
|
|
|
|
|
- result.MaxBufferSize = int.MaxValue;
|
|
|
|
|
- result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max;
|
|
|
|
|
- result.MaxReceivedMessageSize = int.MaxValue;
|
|
|
|
|
- result.AllowCookies = true;
|
|
|
|
|
- return result;
|
|
|
|
|
- }
|
|
|
|
|
- throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
|
|
|
|
|
- {
|
|
|
|
|
- if ((endpointConfiguration == EndpointConfiguration.passportWSPort))
|
|
|
|
|
- {
|
|
|
|
|
- return new System.ServiceModel.EndpointAddress("http://154.73.105.33:8080/passportv3/passportWS");
|
|
|
|
|
- }
|
|
|
|
|
- throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- private static System.ServiceModel.Channels.Binding GetDefaultBinding()
|
|
|
|
|
- {
|
|
|
|
|
- return passportWSClient.GetBindingForEndpoint(EndpointConfiguration.passportWSPort);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
|
|
|
|
|
- {
|
|
|
|
|
- return passportWSClient.GetEndpointAddress(EndpointConfiguration.passportWSPort);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public enum EndpointConfiguration
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- passportWSPort,
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|