Type.registerNamespace('CS.Service');
CS.Service.WebService=function() {
CS.Service.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CS.Service.WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CS.Service.WebService._staticInstance.get_path();},
SetUserInfoValue:function(userId,fieldName,fieldValue,succeededCallback, failedCallback, userContext) {
/// <param name="userId" type="String">System.String</param>
/// <param name="fieldName" type="String">System.String</param>
/// <param name="fieldValue" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SetUserInfoValue',false,{userId:userId,fieldName:fieldName,fieldValue:fieldValue},succeededCallback,failedCallback,userContext); },
FindUserPasswordByIdCard:function(idCard,succeededCallback, failedCallback, userContext) {
/// <param name="idCard" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'FindUserPasswordByIdCard',false,{idCard:idCard},succeededCallback,failedCallback,userContext); }}
CS.Service.WebService.registerClass('CS.Service.WebService',Sys.Net.WebServiceProxy);
CS.Service.WebService._staticInstance = new CS.Service.WebService();
CS.Service.WebService.set_path = function(value) {
CS.Service.WebService._staticInstance.set_path(value); }
CS.Service.WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CS.Service.WebService._staticInstance.get_path();}
CS.Service.WebService.set_timeout = function(value) {
CS.Service.WebService._staticInstance.set_timeout(value); }
CS.Service.WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CS.Service.WebService._staticInstance.get_timeout(); }
CS.Service.WebService.set_defaultUserContext = function(value) { 
CS.Service.WebService._staticInstance.set_defaultUserContext(value); }
CS.Service.WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CS.Service.WebService._staticInstance.get_defaultUserContext(); }
CS.Service.WebService.set_defaultSucceededCallback = function(value) { 
 CS.Service.WebService._staticInstance.set_defaultSucceededCallback(value); }
CS.Service.WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CS.Service.WebService._staticInstance.get_defaultSucceededCallback(); }
CS.Service.WebService.set_defaultFailedCallback = function(value) { 
CS.Service.WebService._staticInstance.set_defaultFailedCallback(value); }
CS.Service.WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CS.Service.WebService._staticInstance.get_defaultFailedCallback(); }
CS.Service.WebService.set_path("/LocalServices/WebService.asmx");
CS.Service.WebService.SetUserInfoValue= function(userId,fieldName,fieldValue,onSuccess,onFailed,userContext) {
/// <param name="userId" type="String">System.String</param>
/// <param name="fieldName" type="String">System.String</param>
/// <param name="fieldValue" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CS.Service.WebService._staticInstance.SetUserInfoValue(userId,fieldName,fieldValue,onSuccess,onFailed,userContext); }
CS.Service.WebService.FindUserPasswordByIdCard= function(idCard,onSuccess,onFailed,userContext) {
/// <param name="idCard" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CS.Service.WebService._staticInstance.FindUserPasswordByIdCard(idCard,onSuccess,onFailed,userContext); }
