var iPhoneWS2=function() {
iPhoneWS2.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
iPhoneWS2.prototype={
CreateUser:function(Username,Password,succeededCallback, failedCallback, userContext) {
return this._invoke(iPhoneWS2.get_path(), 'CreateUser',false,{Username:Username,Password:Password},succeededCallback,failedCallback,userContext); },
ValidateUser:function(Username,Password,succeededCallback, failedCallback, userContext) {
return this._invoke(iPhoneWS2.get_path(), 'ValidateUser',false,{Username:Username,Password:Password},succeededCallback,failedCallback,userContext); },
ResetPasswd:function(EmailAddr,succeededCallback, failedCallback, userContext) {
return this._invoke(iPhoneWS2.get_path(), 'ResetPasswd',false,{EmailAddr:EmailAddr},succeededCallback,failedCallback,userContext); },
FinPassRst:function(EmlAddr,RSKey,OrigPassword,NewPassword,succeededCallback, failedCallback, userContext) {
return this._invoke(iPhoneWS2.get_path(), 'FinPassRst',false,{EmlAddr:EmlAddr,RSKey:RSKey,OrigPassword:OrigPassword,NewPassword:NewPassword},succeededCallback,failedCallback,userContext); },
ChngPasswd:function(OrigPassword,NewPassword,succeededCallback, failedCallback, userContext) {
return this._invoke(iPhoneWS2.get_path(), 'ChngPasswd',false,{OrigPassword:OrigPassword,NewPassword:NewPassword},succeededCallback,failedCallback,userContext); }}
iPhoneWS2.registerClass('iPhoneWS2',Sys.Net.WebServiceProxy);
iPhoneWS2._staticInstance = new iPhoneWS2();
iPhoneWS2.set_path = function(value) { iPhoneWS2._staticInstance._path = value; }
iPhoneWS2.get_path = function() { return iPhoneWS2._staticInstance._path; }
iPhoneWS2.set_timeout = function(value) { iPhoneWS2._staticInstance._timeout = value; }
iPhoneWS2.get_timeout = function() { return iPhoneWS2._staticInstance._timeout; }
iPhoneWS2.set_defaultUserContext = function(value) { iPhoneWS2._staticInstance._userContext = value; }
iPhoneWS2.get_defaultUserContext = function() { return iPhoneWS2._staticInstance._userContext; }
iPhoneWS2.set_defaultSucceededCallback = function(value) { iPhoneWS2._staticInstance._succeeded = value; }
iPhoneWS2.get_defaultSucceededCallback = function() { return iPhoneWS2._staticInstance._succeeded; }
iPhoneWS2.set_defaultFailedCallback = function(value) { iPhoneWS2._staticInstance._failed = value; }
iPhoneWS2.get_defaultFailedCallback = function() { return iPhoneWS2._staticInstance._failed; }
iPhoneWS2.set_path("/iPhoneWS2.asmx");
iPhoneWS2.CreateUser= function(Username,Password,onSuccess,onFailed,userContext) {iPhoneWS2._staticInstance.CreateUser(Username,Password,onSuccess,onFailed,userContext); }
iPhoneWS2.ValidateUser= function(Username,Password,onSuccess,onFailed,userContext) {iPhoneWS2._staticInstance.ValidateUser(Username,Password,onSuccess,onFailed,userContext); }
iPhoneWS2.ResetPasswd= function(EmailAddr,onSuccess,onFailed,userContext) {iPhoneWS2._staticInstance.ResetPasswd(EmailAddr,onSuccess,onFailed,userContext); }
iPhoneWS2.FinPassRst= function(EmlAddr,RSKey,OrigPassword,NewPassword,onSuccess,onFailed,userContext) {iPhoneWS2._staticInstance.FinPassRst(EmlAddr,RSKey,OrigPassword,NewPassword,onSuccess,onFailed,userContext); }
iPhoneWS2.ChngPasswd= function(OrigPassword,NewPassword,onSuccess,onFailed,userContext) {iPhoneWS2._staticInstance.ChngPasswd(OrigPassword,NewPassword,onSuccess,onFailed,userContext); }
