Type.registerNamespace('WebApp.WebServices');
WebApp.WebServices.DealerList=function() {
WebApp.WebServices.DealerList.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebApp.WebServices.DealerList.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebApp.WebServices.DealerList._staticInstance.get_path();},
GetDealerList:function(zipcode,miles,succeededCallback, failedCallback, userContext) {
/// <param name="zipcode" type="String">System.String</param>
/// <param name="miles" 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(), 'GetDealerList',false,{zipcode:zipcode,miles:miles},succeededCallback,failedCallback,userContext); },
GetDealerListByZip:function(zipcode,miles,succeededCallback, failedCallback, userContext) {
/// <param name="zipcode" type="String">System.String</param>
/// <param name="miles" 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(), 'GetDealerListByZip',false,{zipcode:zipcode,miles:miles},succeededCallback,failedCallback,userContext); },
GetDealerListByCountry:function(CountryID,succeededCallback, failedCallback, userContext) {
/// <param name="CountryID" 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(), 'GetDealerListByCountry',false,{CountryID:CountryID},succeededCallback,failedCallback,userContext); },
GetDealerListString:function(userid,succeededCallback, failedCallback, userContext) {
/// <param name="userid" type="Number">System.Int64</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(), 'GetDealerListString',false,{userid:userid},succeededCallback,failedCallback,userContext); }}
WebApp.WebServices.DealerList.registerClass('WebApp.WebServices.DealerList',Sys.Net.WebServiceProxy);
WebApp.WebServices.DealerList._staticInstance = new WebApp.WebServices.DealerList();
WebApp.WebServices.DealerList.set_path = function(value) {
WebApp.WebServices.DealerList._staticInstance.set_path(value); }
WebApp.WebServices.DealerList.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WebApp.WebServices.DealerList._staticInstance.get_path();}
WebApp.WebServices.DealerList.set_timeout = function(value) {
WebApp.WebServices.DealerList._staticInstance.set_timeout(value); }
WebApp.WebServices.DealerList.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WebApp.WebServices.DealerList._staticInstance.get_timeout(); }
WebApp.WebServices.DealerList.set_defaultUserContext = function(value) { 
WebApp.WebServices.DealerList._staticInstance.set_defaultUserContext(value); }
WebApp.WebServices.DealerList.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WebApp.WebServices.DealerList._staticInstance.get_defaultUserContext(); }
WebApp.WebServices.DealerList.set_defaultSucceededCallback = function(value) { 
 WebApp.WebServices.DealerList._staticInstance.set_defaultSucceededCallback(value); }
WebApp.WebServices.DealerList.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WebApp.WebServices.DealerList._staticInstance.get_defaultSucceededCallback(); }
WebApp.WebServices.DealerList.set_defaultFailedCallback = function(value) { 
WebApp.WebServices.DealerList._staticInstance.set_defaultFailedCallback(value); }
WebApp.WebServices.DealerList.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WebApp.WebServices.DealerList._staticInstance.get_defaultFailedCallback(); }
WebApp.WebServices.DealerList.set_enableJsonp = function(value) { WebApp.WebServices.DealerList._staticInstance.set_enableJsonp(value); }
WebApp.WebServices.DealerList.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return WebApp.WebServices.DealerList._staticInstance.get_enableJsonp(); }
WebApp.WebServices.DealerList.set_jsonpCallbackParameter = function(value) { WebApp.WebServices.DealerList._staticInstance.set_jsonpCallbackParameter(value); }
WebApp.WebServices.DealerList.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return WebApp.WebServices.DealerList._staticInstance.get_jsonpCallbackParameter(); }
WebApp.WebServices.DealerList.set_path("/WebServices/DealerList.asmx");
WebApp.WebServices.DealerList.GetDealerList= function(zipcode,miles,onSuccess,onFailed,userContext) {
/// <param name="zipcode" type="String">System.String</param>
/// <param name="miles" 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>
WebApp.WebServices.DealerList._staticInstance.GetDealerList(zipcode,miles,onSuccess,onFailed,userContext); }
WebApp.WebServices.DealerList.GetDealerListByZip= function(zipcode,miles,onSuccess,onFailed,userContext) {
/// <param name="zipcode" type="String">System.String</param>
/// <param name="miles" 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>
WebApp.WebServices.DealerList._staticInstance.GetDealerListByZip(zipcode,miles,onSuccess,onFailed,userContext); }
WebApp.WebServices.DealerList.GetDealerListByCountry= function(CountryID,onSuccess,onFailed,userContext) {
/// <param name="CountryID" 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>
WebApp.WebServices.DealerList._staticInstance.GetDealerListByCountry(CountryID,onSuccess,onFailed,userContext); }
WebApp.WebServices.DealerList.GetDealerListString= function(userid,onSuccess,onFailed,userContext) {
/// <param name="userid" type="Number">System.Int64</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>
WebApp.WebServices.DealerList._staticInstance.GetDealerListString(userid,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WebApp.WebServices.DealerListInfo) === 'undefined') {
WebApp.WebServices.DealerListInfo=gtc("WebApp.WebServices.DealerListInfo");
WebApp.WebServices.DealerListInfo.registerClass('WebApp.WebServices.DealerListInfo');
}

