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