| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163 |
- //------------------------------------------------------------------------------
- // <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,
- }
- }
- }
|