Type.registerNamespace('ASPNetPortal');
ASPNetPortal.ProductService=function() {
ASPNetPortal.ProductService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ASPNetPortal.ProductService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ASPNetPortal.ProductService._staticInstance.get_path();},
GetProductCodes:function(Code,StartWith,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductCodes',false,{Code:Code,StartWith:StartWith},succeededCallback,failedCallback,userContext); },
GetAuthors:function(StartWith,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAuthors',false,{StartWith:StartWith},succeededCallback,failedCallback,userContext); },
GetPublishers:function(StartWith,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPublishers',false,{StartWith:StartWith},succeededCallback,failedCallback,userContext); }}
ASPNetPortal.ProductService.registerClass('ASPNetPortal.ProductService',Sys.Net.WebServiceProxy);
ASPNetPortal.ProductService._staticInstance = new ASPNetPortal.ProductService();
ASPNetPortal.ProductService.set_path = function(value) { ASPNetPortal.ProductService._staticInstance.set_path(value); }
ASPNetPortal.ProductService.get_path = function() { return ASPNetPortal.ProductService._staticInstance.get_path(); }
ASPNetPortal.ProductService.set_timeout = function(value) { ASPNetPortal.ProductService._staticInstance.set_timeout(value); }
ASPNetPortal.ProductService.get_timeout = function() { return ASPNetPortal.ProductService._staticInstance.get_timeout(); }
ASPNetPortal.ProductService.set_defaultUserContext = function(value) { ASPNetPortal.ProductService._staticInstance.set_defaultUserContext(value); }
ASPNetPortal.ProductService.get_defaultUserContext = function() { return ASPNetPortal.ProductService._staticInstance.get_defaultUserContext(); }
ASPNetPortal.ProductService.set_defaultSucceededCallback = function(value) { ASPNetPortal.ProductService._staticInstance.set_defaultSucceededCallback(value); }
ASPNetPortal.ProductService.get_defaultSucceededCallback = function() { return ASPNetPortal.ProductService._staticInstance.get_defaultSucceededCallback(); }
ASPNetPortal.ProductService.set_defaultFailedCallback = function(value) { ASPNetPortal.ProductService._staticInstance.set_defaultFailedCallback(value); }
ASPNetPortal.ProductService.get_defaultFailedCallback = function() { return ASPNetPortal.ProductService._staticInstance.get_defaultFailedCallback(); }
ASPNetPortal.ProductService.set_enableJsonp = function(value) { ASPNetPortal.ProductService._staticInstance.set_enableJsonp(value); }
ASPNetPortal.ProductService.get_enableJsonp = function() { return ASPNetPortal.ProductService._staticInstance.get_enableJsonp(); }
ASPNetPortal.ProductService.set_jsonpCallbackParameter = function(value) { ASPNetPortal.ProductService._staticInstance.set_jsonpCallbackParameter(value); }
ASPNetPortal.ProductService.get_jsonpCallbackParameter = function() { return ASPNetPortal.ProductService._staticInstance.get_jsonpCallbackParameter(); }
ASPNetPortal.ProductService.set_path("/services/ProductService.asmx");
ASPNetPortal.ProductService.GetProductCodes= function(Code,StartWith,onSuccess,onFailed,userContext) {ASPNetPortal.ProductService._staticInstance.GetProductCodes(Code,StartWith,onSuccess,onFailed,userContext); }
ASPNetPortal.ProductService.GetAuthors= function(StartWith,onSuccess,onFailed,userContext) {ASPNetPortal.ProductService._staticInstance.GetAuthors(StartWith,onSuccess,onFailed,userContext); }
ASPNetPortal.ProductService.GetPublishers= function(StartWith,onSuccess,onFailed,userContext) {ASPNetPortal.ProductService._staticInstance.GetPublishers(StartWith,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ASPNetPortal.CodeList) === 'undefined') {
ASPNetPortal.CodeList=gtc("ASPNetPortal.CodeList");
ASPNetPortal.CodeList.registerClass('ASPNetPortal.CodeList');
}

