Type.registerNamespace('CoolCarSearch.AspNet');
CoolCarSearch.AspNet.WebService=function() {
CoolCarSearch.AspNet.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CoolCarSearch.AspNet.WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CoolCarSearch.AspNet.WebService._staticInstance.get_path();},
updateYear:function(carcode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'updateYear',false,{carcode:carcode},succeededCallback,failedCallback,userContext); },
updateModal:function(carcode,year,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'updateModal',false,{carcode:carcode,year:year},succeededCallback,failedCallback,userContext); },
updateType:function(modelcode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'updateType',false,{modelcode:modelcode},succeededCallback,failedCallback,userContext); }}
CoolCarSearch.AspNet.WebService.registerClass('CoolCarSearch.AspNet.WebService',Sys.Net.WebServiceProxy);
CoolCarSearch.AspNet.WebService._staticInstance = new CoolCarSearch.AspNet.WebService();
CoolCarSearch.AspNet.WebService.set_path = function(value) { CoolCarSearch.AspNet.WebService._staticInstance.set_path(value); }
CoolCarSearch.AspNet.WebService.get_path = function() { return CoolCarSearch.AspNet.WebService._staticInstance.get_path(); }
CoolCarSearch.AspNet.WebService.set_timeout = function(value) { CoolCarSearch.AspNet.WebService._staticInstance.set_timeout(value); }
CoolCarSearch.AspNet.WebService.get_timeout = function() { return CoolCarSearch.AspNet.WebService._staticInstance.get_timeout(); }
CoolCarSearch.AspNet.WebService.set_defaultUserContext = function(value) { CoolCarSearch.AspNet.WebService._staticInstance.set_defaultUserContext(value); }
CoolCarSearch.AspNet.WebService.get_defaultUserContext = function() { return CoolCarSearch.AspNet.WebService._staticInstance.get_defaultUserContext(); }
CoolCarSearch.AspNet.WebService.set_defaultSucceededCallback = function(value) { CoolCarSearch.AspNet.WebService._staticInstance.set_defaultSucceededCallback(value); }
CoolCarSearch.AspNet.WebService.get_defaultSucceededCallback = function() { return CoolCarSearch.AspNet.WebService._staticInstance.get_defaultSucceededCallback(); }
CoolCarSearch.AspNet.WebService.set_defaultFailedCallback = function(value) { CoolCarSearch.AspNet.WebService._staticInstance.set_defaultFailedCallback(value); }
CoolCarSearch.AspNet.WebService.get_defaultFailedCallback = function() { return CoolCarSearch.AspNet.WebService._staticInstance.get_defaultFailedCallback(); }
CoolCarSearch.AspNet.WebService.set_path("/siennservice01.asmx");
CoolCarSearch.AspNet.WebService.updateYear= function(carcode,onSuccess,onFailed,userContext) {CoolCarSearch.AspNet.WebService._staticInstance.updateYear(carcode,onSuccess,onFailed,userContext); }
CoolCarSearch.AspNet.WebService.updateModal= function(carcode,year,onSuccess,onFailed,userContext) {CoolCarSearch.AspNet.WebService._staticInstance.updateModal(carcode,year,onSuccess,onFailed,userContext); }
CoolCarSearch.AspNet.WebService.updateType= function(modelcode,onSuccess,onFailed,userContext) {CoolCarSearch.AspNet.WebService._staticInstance.updateType(modelcode,onSuccess,onFailed,userContext); }

