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