Type.registerNamespace('NeoSoft.Utensilia.Web.ws');
NeoSoft.Utensilia.Web.ws.AdminService=function() {
NeoSoft.Utensilia.Web.ws.AdminService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NeoSoft.Utensilia.Web.ws.AdminService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.get_path();},
InserimentoProdotti:function(Username,Password,dati,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InserimentoProdotti',false,{Username:Username,Password:Password,dati:dati},succeededCallback,failedCallback,userContext); },
SalvaImmagine:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SalvaImmagine',false,{},succeededCallback,failedCallback,userContext); },
Annulla:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Annulla',false,{},succeededCallback,failedCallback,userContext); },
GetMarche:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMarche',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetProdotti:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProdotti',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
NeoSoft.Utensilia.Web.ws.AdminService.registerClass('NeoSoft.Utensilia.Web.ws.AdminService',Sys.Net.WebServiceProxy);
NeoSoft.Utensilia.Web.ws.AdminService._staticInstance = new NeoSoft.Utensilia.Web.ws.AdminService();
NeoSoft.Utensilia.Web.ws.AdminService.set_path = function(value) { NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.set_path(value); }
NeoSoft.Utensilia.Web.ws.AdminService.get_path = function() { return NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.get_path(); }
NeoSoft.Utensilia.Web.ws.AdminService.set_timeout = function(value) { NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.set_timeout(value); }
NeoSoft.Utensilia.Web.ws.AdminService.get_timeout = function() { return NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.get_timeout(); }
NeoSoft.Utensilia.Web.ws.AdminService.set_defaultUserContext = function(value) { NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.set_defaultUserContext(value); }
NeoSoft.Utensilia.Web.ws.AdminService.get_defaultUserContext = function() { return NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.get_defaultUserContext(); }
NeoSoft.Utensilia.Web.ws.AdminService.set_defaultSucceededCallback = function(value) { NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.set_defaultSucceededCallback(value); }
NeoSoft.Utensilia.Web.ws.AdminService.get_defaultSucceededCallback = function() { return NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.get_defaultSucceededCallback(); }
NeoSoft.Utensilia.Web.ws.AdminService.set_defaultFailedCallback = function(value) { NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.set_defaultFailedCallback(value); }
NeoSoft.Utensilia.Web.ws.AdminService.get_defaultFailedCallback = function() { return NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.get_defaultFailedCallback(); }
NeoSoft.Utensilia.Web.ws.AdminService.set_path("/ws/AdminService.asmx");
NeoSoft.Utensilia.Web.ws.AdminService.InserimentoProdotti= function(Username,Password,dati,onSuccess,onFailed,userContext) {NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.InserimentoProdotti(Username,Password,dati,onSuccess,onFailed,userContext); }
NeoSoft.Utensilia.Web.ws.AdminService.SalvaImmagine= function(onSuccess,onFailed,userContext) {NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.SalvaImmagine(onSuccess,onFailed,userContext); }
NeoSoft.Utensilia.Web.ws.AdminService.Annulla= function(onSuccess,onFailed,userContext) {NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.Annulla(onSuccess,onFailed,userContext); }
NeoSoft.Utensilia.Web.ws.AdminService.GetMarche= function(prefixText,count,onSuccess,onFailed,userContext) {NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.GetMarche(prefixText,count,onSuccess,onFailed,userContext); }
NeoSoft.Utensilia.Web.ws.AdminService.GetProdotti= function(prefixText,count,onSuccess,onFailed,userContext) {NeoSoft.Utensilia.Web.ws.AdminService._staticInstance.GetProdotti(prefixText,count,onSuccess,onFailed,userContext); }

