Type.registerNamespace('Warmoth');
Warmoth.WebService=function() {
Warmoth.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Warmoth.WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Warmoth.WebService._staticInstance.get_path();},
removeCompareItem:function(scId,isBody,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'removeCompareItem',false,{scId:scId,isBody:isBody},succeededCallback,failedCallback,userContext); },
FetchBodyOptionPopupInfo:function(optionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FetchBodyOptionPopupInfo',false,{optionId:optionId},succeededCallback,failedCallback,userContext); },
FetchBodyModelOptionPopupInfo:function(optionId,model,construction,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FetchBodyModelOptionPopupInfo',false,{optionId:optionId,model:model,construction:construction},succeededCallback,failedCallback,userContext); },
FetchNeckOptionPopupInfo:function(optionId,headstock,construction,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FetchNeckOptionPopupInfo',false,{optionId:optionId,headstock:headstock,construction:construction},succeededCallback,failedCallback,userContext); },
FetchWoodPopupInfo:function(optionId,price,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FetchWoodPopupInfo',false,{optionId:optionId,price:price},succeededCallback,failedCallback,userContext); },
SaveFeedOrder:function(order,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveFeedOrder',false,{order:order},succeededCallback,failedCallback,userContext); },
GetCompletionList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetShopImages:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetShopImages',false,{},succeededCallback,failedCallback,userContext); },
GetEmployeeById:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEmployeeById',false,{id:id},succeededCallback,failedCallback,userContext); }}
Warmoth.WebService.registerClass('Warmoth.WebService',Sys.Net.WebServiceProxy);
Warmoth.WebService._staticInstance = new Warmoth.WebService();
Warmoth.WebService.set_path = function(value) { Warmoth.WebService._staticInstance.set_path(value); }
Warmoth.WebService.get_path = function() { return Warmoth.WebService._staticInstance.get_path(); }
Warmoth.WebService.set_timeout = function(value) { Warmoth.WebService._staticInstance.set_timeout(value); }
Warmoth.WebService.get_timeout = function() { return Warmoth.WebService._staticInstance.get_timeout(); }
Warmoth.WebService.set_defaultUserContext = function(value) { Warmoth.WebService._staticInstance.set_defaultUserContext(value); }
Warmoth.WebService.get_defaultUserContext = function() { return Warmoth.WebService._staticInstance.get_defaultUserContext(); }
Warmoth.WebService.set_defaultSucceededCallback = function(value) { Warmoth.WebService._staticInstance.set_defaultSucceededCallback(value); }
Warmoth.WebService.get_defaultSucceededCallback = function() { return Warmoth.WebService._staticInstance.get_defaultSucceededCallback(); }
Warmoth.WebService.set_defaultFailedCallback = function(value) { Warmoth.WebService._staticInstance.set_defaultFailedCallback(value); }
Warmoth.WebService.get_defaultFailedCallback = function() { return Warmoth.WebService._staticInstance.get_defaultFailedCallback(); }
Warmoth.WebService.set_path("/WebServices/WebService.asmx");
Warmoth.WebService.removeCompareItem= function(scId,isBody,onSuccess,onFailed,userContext) {Warmoth.WebService._staticInstance.removeCompareItem(scId,isBody,onSuccess,onFailed,userContext); }
Warmoth.WebService.FetchBodyOptionPopupInfo= function(optionId,onSuccess,onFailed,userContext) {Warmoth.WebService._staticInstance.FetchBodyOptionPopupInfo(optionId,onSuccess,onFailed,userContext); }
Warmoth.WebService.FetchBodyModelOptionPopupInfo= function(optionId,model,construction,onSuccess,onFailed,userContext) {Warmoth.WebService._staticInstance.FetchBodyModelOptionPopupInfo(optionId,model,construction,onSuccess,onFailed,userContext); }
Warmoth.WebService.FetchNeckOptionPopupInfo= function(optionId,headstock,construction,onSuccess,onFailed,userContext) {Warmoth.WebService._staticInstance.FetchNeckOptionPopupInfo(optionId,headstock,construction,onSuccess,onFailed,userContext); }
Warmoth.WebService.FetchWoodPopupInfo= function(optionId,price,onSuccess,onFailed,userContext) {Warmoth.WebService._staticInstance.FetchWoodPopupInfo(optionId,price,onSuccess,onFailed,userContext); }
Warmoth.WebService.SaveFeedOrder= function(order,onSuccess,onFailed,userContext) {Warmoth.WebService._staticInstance.SaveFeedOrder(order,onSuccess,onFailed,userContext); }
Warmoth.WebService.GetCompletionList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {Warmoth.WebService._staticInstance.GetCompletionList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
Warmoth.WebService.GetShopImages= function(onSuccess,onFailed,userContext) {Warmoth.WebService._staticInstance.GetShopImages(onSuccess,onFailed,userContext); }
Warmoth.WebService.GetEmployeeById= function(id,onSuccess,onFailed,userContext) {Warmoth.WebService._staticInstance.GetEmployeeById(id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ShopImage) === 'undefined') {
var ShopImage=gtc("ShopImage");
ShopImage.registerClass('ShopImage');
}
if (typeof(Employee) === 'undefined') {
var Employee=gtc("Employee");
Employee.registerClass('Employee');
}

