Type.registerNamespace('Exper');
Exper.WebService2=function() {
Exper.WebService2.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Exper.WebService2.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Exper.WebService2._staticInstance.get_path();},
GetProduct:function(CatID,StartIndex,succeededCallback, failedCallback, userContext) {
/// <param name="CatID" type="Number">System.Int32</param>
/// <param name="StartIndex" type="Number">System.Int32</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(), 'GetProduct',false,{CatID:CatID,StartIndex:StartIndex},succeededCallback,failedCallback,userContext); },
GetResellers:function(CityID,succeededCallback, failedCallback, userContext) {
/// <param name="CityID" type="Number">System.Int32</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(), 'GetResellers',false,{CityID:CityID},succeededCallback,failedCallback,userContext); },
GetResellers2:function(CityID,CountyName,succeededCallback, failedCallback, userContext) {
/// <param name="CityID" type="Number">System.Int32</param>
/// <param name="CountyName" 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(), 'GetResellers2',false,{CityID:CityID,CountyName:CountyName},succeededCallback,failedCallback,userContext); },
GetResellersCities2: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(), 'GetResellersCities2',false,{},succeededCallback,failedCallback,userContext); }}
Exper.WebService2.registerClass('Exper.WebService2',Sys.Net.WebServiceProxy);
Exper.WebService2._staticInstance = new Exper.WebService2();
Exper.WebService2.set_path = function(value) {
Exper.WebService2._staticInstance.set_path(value); }
Exper.WebService2.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Exper.WebService2._staticInstance.get_path();}
Exper.WebService2.set_timeout = function(value) {
Exper.WebService2._staticInstance.set_timeout(value); }
Exper.WebService2.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Exper.WebService2._staticInstance.get_timeout(); }
Exper.WebService2.set_defaultUserContext = function(value) { 
Exper.WebService2._staticInstance.set_defaultUserContext(value); }
Exper.WebService2.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Exper.WebService2._staticInstance.get_defaultUserContext(); }
Exper.WebService2.set_defaultSucceededCallback = function(value) { 
 Exper.WebService2._staticInstance.set_defaultSucceededCallback(value); }
Exper.WebService2.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Exper.WebService2._staticInstance.get_defaultSucceededCallback(); }
Exper.WebService2.set_defaultFailedCallback = function(value) { 
Exper.WebService2._staticInstance.set_defaultFailedCallback(value); }
Exper.WebService2.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Exper.WebService2._staticInstance.get_defaultFailedCallback(); }
Exper.WebService2.set_enableJsonp = function(value) { Exper.WebService2._staticInstance.set_enableJsonp(value); }
Exper.WebService2.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return Exper.WebService2._staticInstance.get_enableJsonp(); }
Exper.WebService2.set_jsonpCallbackParameter = function(value) { Exper.WebService2._staticInstance.set_jsonpCallbackParameter(value); }
Exper.WebService2.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return Exper.WebService2._staticInstance.get_jsonpCallbackParameter(); }
Exper.WebService2.set_path("/WebService2.asmx");
Exper.WebService2.GetProduct= function(CatID,StartIndex,onSuccess,onFailed,userContext) {
/// <param name="CatID" type="Number">System.Int32</param>
/// <param name="StartIndex" type="Number">System.Int32</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>
Exper.WebService2._staticInstance.GetProduct(CatID,StartIndex,onSuccess,onFailed,userContext); }
Exper.WebService2.GetResellers= function(CityID,onSuccess,onFailed,userContext) {
/// <param name="CityID" type="Number">System.Int32</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>
Exper.WebService2._staticInstance.GetResellers(CityID,onSuccess,onFailed,userContext); }
Exper.WebService2.GetResellers2= function(CityID,CountyName,onSuccess,onFailed,userContext) {
/// <param name="CityID" type="Number">System.Int32</param>
/// <param name="CountyName" 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>
Exper.WebService2._staticInstance.GetResellers2(CityID,CountyName,onSuccess,onFailed,userContext); }
Exper.WebService2.GetResellersCities2= 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>
Exper.WebService2._staticInstance.GetResellersCities2(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Exper.ResultSet) === 'undefined') {
Exper.ResultSet=gtc("Exper.ResultSet");
Exper.ResultSet.registerClass('Exper.ResultSet');
}
if (typeof(Exper.AjaxReseller) === 'undefined') {
Exper.AjaxReseller=gtc("Exper.AjaxReseller");
Exper.AjaxReseller.registerClass('Exper.AjaxReseller');
}
if (typeof(Exper.City) === 'undefined') {
Exper.City=gtc("Exper.City");
Exper.City.registerClass('Exper.City');
}

