Type.registerNamespace('Softchoice.Web.WebServices');
Softchoice.Web.WebServices.PNA=function() {
Softchoice.Web.WebServices.PNA.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Softchoice.Web.WebServices.PNA.prototype={
GetStockCount:function(storeDiv,sku,succeededCallback, failedCallback, userContext) {
return this._invoke(Softchoice.Web.WebServices.PNA.get_path(), 'GetStockCount',true,{storeDiv:storeDiv,sku:sku},succeededCallback,failedCallback,userContext); }}
Softchoice.Web.WebServices.PNA.registerClass('Softchoice.Web.WebServices.PNA',Sys.Net.WebServiceProxy);
Softchoice.Web.WebServices.PNA._staticInstance = new Softchoice.Web.WebServices.PNA();
Softchoice.Web.WebServices.PNA.set_path = function(value) { Softchoice.Web.WebServices.PNA._staticInstance._path = value; }
Softchoice.Web.WebServices.PNA.get_path = function() { return Softchoice.Web.WebServices.PNA._staticInstance._path; }
Softchoice.Web.WebServices.PNA.set_timeout = function(value) { Softchoice.Web.WebServices.PNA._staticInstance._timeout = value; }
Softchoice.Web.WebServices.PNA.get_timeout = function() { return Softchoice.Web.WebServices.PNA._staticInstance._timeout; }
Softchoice.Web.WebServices.PNA.set_defaultUserContext = function(value) { Softchoice.Web.WebServices.PNA._staticInstance._userContext = value; }
Softchoice.Web.WebServices.PNA.get_defaultUserContext = function() { return Softchoice.Web.WebServices.PNA._staticInstance._userContext; }
Softchoice.Web.WebServices.PNA.set_defaultSucceededCallback = function(value) { Softchoice.Web.WebServices.PNA._staticInstance._succeeded = value; }
Softchoice.Web.WebServices.PNA.get_defaultSucceededCallback = function() { return Softchoice.Web.WebServices.PNA._staticInstance._succeeded; }
Softchoice.Web.WebServices.PNA.set_defaultFailedCallback = function(value) { Softchoice.Web.WebServices.PNA._staticInstance._failed = value; }
Softchoice.Web.WebServices.PNA.get_defaultFailedCallback = function() { return Softchoice.Web.WebServices.PNA._staticInstance._failed; }
Softchoice.Web.WebServices.PNA.set_path("/WebServices/PNA.asmx");
Softchoice.Web.WebServices.PNA.GetStockCount= function(storeDiv,sku,onSuccess,onFailed,userContext) {Softchoice.Web.WebServices.PNA._staticInstance.GetStockCount(storeDiv,sku,onSuccess,onFailed,userContext); }
