var ProductService=function() {
ProductService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ProductService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ProductService._staticInstance.get_path();},
GetFullProduct:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="String">System.Guid</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(), 'GetFullProduct',false,{id:id},succeededCallback,failedCallback,userContext); },
CreateImporterSerial:function(serial,key,succeededCallback, failedCallback, userContext) {
/// <param name="serial" type="String">System.String</param>
/// <param name="key" 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(), 'CreateImporterSerial',false,{serial:serial,key:key},succeededCallback,failedCallback,userContext); },
ImportPruduct:function(entity,key,succeededCallback, failedCallback, userContext) {
/// <param name="entity" type="Seebio.Entity.ProductInfo">Seebio.Entity.ProductInfo</param>
/// <param name="key" 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(), 'ImportPruduct',false,{entity:entity,key:key},succeededCallback,failedCallback,userContext); }}
ProductService.registerClass('ProductService',Sys.Net.WebServiceProxy);
ProductService._staticInstance = new ProductService();
ProductService.set_path = function(value) {
ProductService._staticInstance.set_path(value); }
ProductService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ProductService._staticInstance.get_path();}
ProductService.set_timeout = function(value) {
ProductService._staticInstance.set_timeout(value); }
ProductService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ProductService._staticInstance.get_timeout(); }
ProductService.set_defaultUserContext = function(value) { 
ProductService._staticInstance.set_defaultUserContext(value); }
ProductService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ProductService._staticInstance.get_defaultUserContext(); }
ProductService.set_defaultSucceededCallback = function(value) { 
 ProductService._staticInstance.set_defaultSucceededCallback(value); }
ProductService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ProductService._staticInstance.get_defaultSucceededCallback(); }
ProductService.set_defaultFailedCallback = function(value) { 
ProductService._staticInstance.set_defaultFailedCallback(value); }
ProductService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ProductService._staticInstance.get_defaultFailedCallback(); }
ProductService.set_path("/Services/ProductService.asmx");
ProductService.GetFullProduct= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" type="String">System.Guid</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>
ProductService._staticInstance.GetFullProduct(id,onSuccess,onFailed,userContext); }
ProductService.CreateImporterSerial= function(serial,key,onSuccess,onFailed,userContext) {
/// <param name="serial" type="String">System.String</param>
/// <param name="key" 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>
ProductService._staticInstance.CreateImporterSerial(serial,key,onSuccess,onFailed,userContext); }
ProductService.ImportPruduct= function(entity,key,onSuccess,onFailed,userContext) {
/// <param name="entity" type="Seebio.Entity.ProductInfo">Seebio.Entity.ProductInfo</param>
/// <param name="key" 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>
ProductService._staticInstance.ImportPruduct(entity,key,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Seebio.Entity');
if (typeof(Seebio.Entity.ProductInfo) === 'undefined') {
Seebio.Entity.ProductInfo=gtc("Seebio.Entity.ProductInfo");
Seebio.Entity.ProductInfo.registerClass('Seebio.Entity.ProductInfo');
}

