var AjaxWebService=function() {
AjaxWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AjaxWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AjaxWebService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
ChangeProductType:function(strID,strType,succeededCallback, failedCallback, userContext) {
/// <param name="strID" type="String">System.String</param>
/// <param name="strType" 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(), 'ChangeProductType',false,{strID:strID,strType:strType},succeededCallback,failedCallback,userContext); },
GetState:function(strCountryID,succeededCallback, failedCallback, userContext) {
/// <param name="strCountryID" 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(), 'GetState',false,{strCountryID:strCountryID},succeededCallback,failedCallback,userContext); },
SendPassword:function(strEmail,succeededCallback, failedCallback, userContext) {
/// <param name="strEmail" 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(), 'SendPassword',false,{strEmail:strEmail},succeededCallback,failedCallback,userContext); },
GetCouponCodeValue:function(strCouponCode,succeededCallback, failedCallback, userContext) {
/// <param name="strCouponCode" 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(), 'GetCouponCodeValue',false,{strCouponCode:strCouponCode},succeededCallback,failedCallback,userContext); }}
AjaxWebService.registerClass('AjaxWebService',Sys.Net.WebServiceProxy);
AjaxWebService._staticInstance = new AjaxWebService();
AjaxWebService.set_path = function(value) {
AjaxWebService._staticInstance.set_path(value); }
AjaxWebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AjaxWebService._staticInstance.get_path();}
AjaxWebService.set_timeout = function(value) {
AjaxWebService._staticInstance.set_timeout(value); }
AjaxWebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AjaxWebService._staticInstance.get_timeout(); }
AjaxWebService.set_defaultUserContext = function(value) { 
AjaxWebService._staticInstance.set_defaultUserContext(value); }
AjaxWebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AjaxWebService._staticInstance.get_defaultUserContext(); }
AjaxWebService.set_defaultSucceededCallback = function(value) { 
 AjaxWebService._staticInstance.set_defaultSucceededCallback(value); }
AjaxWebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AjaxWebService._staticInstance.get_defaultSucceededCallback(); }
AjaxWebService.set_defaultFailedCallback = function(value) { 
AjaxWebService._staticInstance.set_defaultFailedCallback(value); }
AjaxWebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AjaxWebService._staticInstance.get_defaultFailedCallback(); }
AjaxWebService.set_path("/webservice/AjaxWebService.asmx");
AjaxWebService.HelloWorld= function(onSuccess,onFailed,userContext) {
/// <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>
AjaxWebService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
AjaxWebService.ChangeProductType= function(strID,strType,onSuccess,onFailed,userContext) {
/// <param name="strID" type="String">System.String</param>
/// <param name="strType" 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>
AjaxWebService._staticInstance.ChangeProductType(strID,strType,onSuccess,onFailed,userContext); }
AjaxWebService.GetState= function(strCountryID,onSuccess,onFailed,userContext) {
/// <param name="strCountryID" 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>
AjaxWebService._staticInstance.GetState(strCountryID,onSuccess,onFailed,userContext); }
AjaxWebService.SendPassword= function(strEmail,onSuccess,onFailed,userContext) {
/// <param name="strEmail" 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>
AjaxWebService._staticInstance.SendPassword(strEmail,onSuccess,onFailed,userContext); }
AjaxWebService.GetCouponCodeValue= function(strCouponCode,onSuccess,onFailed,userContext) {
/// <param name="strCouponCode" 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>
AjaxWebService._staticInstance.GetCouponCodeValue(strCouponCode,onSuccess,onFailed,userContext); }

