Type.registerNamespace('MerchantWC08.Services');
MerchantWC08.Services.ViewService=function() {
MerchantWC08.Services.ViewService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MerchantWC08.Services.ViewService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MerchantWC08.Services.ViewService._staticInstance.get_path();},
GetItemImage:function(itemId,imageElement,succeededCallback, failedCallback, userContext) {
/// <param name="itemId" type="String">System.String</param>
/// <param name="imageElement" 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(), 'GetItemImage',false,{itemId:itemId,imageElement:imageElement},succeededCallback,failedCallback,userContext); },
GetModelItemImage:function(itemId,modelId,succeededCallback, failedCallback, userContext) {
/// <param name="itemId" type="String">System.String</param>
/// <param name="modelId" 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(), 'GetModelItemImage',false,{itemId:itemId,modelId:modelId},succeededCallback,failedCallback,userContext); },
GetMapImage:function(fLine,mapType,itemId,model,succeededCallback, failedCallback, userContext) {
/// <param name="fLine" type="Number">System.Int32</param>
/// <param name="mapType" type="String">System.Char</param>
/// <param name="itemId" type="String">System.String</param>
/// <param name="model" 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(), 'GetMapImage',false,{fLine:fLine,mapType:mapType,itemId:itemId,model:model},succeededCallback,failedCallback,userContext); }}
MerchantWC08.Services.ViewService.registerClass('MerchantWC08.Services.ViewService',Sys.Net.WebServiceProxy);
MerchantWC08.Services.ViewService._staticInstance = new MerchantWC08.Services.ViewService();
MerchantWC08.Services.ViewService.set_path = function(value) {
MerchantWC08.Services.ViewService._staticInstance.set_path(value); }
MerchantWC08.Services.ViewService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MerchantWC08.Services.ViewService._staticInstance.get_path();}
MerchantWC08.Services.ViewService.set_timeout = function(value) {
MerchantWC08.Services.ViewService._staticInstance.set_timeout(value); }
MerchantWC08.Services.ViewService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MerchantWC08.Services.ViewService._staticInstance.get_timeout(); }
MerchantWC08.Services.ViewService.set_defaultUserContext = function(value) { 
MerchantWC08.Services.ViewService._staticInstance.set_defaultUserContext(value); }
MerchantWC08.Services.ViewService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MerchantWC08.Services.ViewService._staticInstance.get_defaultUserContext(); }
MerchantWC08.Services.ViewService.set_defaultSucceededCallback = function(value) { 
 MerchantWC08.Services.ViewService._staticInstance.set_defaultSucceededCallback(value); }
MerchantWC08.Services.ViewService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MerchantWC08.Services.ViewService._staticInstance.get_defaultSucceededCallback(); }
MerchantWC08.Services.ViewService.set_defaultFailedCallback = function(value) { 
MerchantWC08.Services.ViewService._staticInstance.set_defaultFailedCallback(value); }
MerchantWC08.Services.ViewService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MerchantWC08.Services.ViewService._staticInstance.get_defaultFailedCallback(); }
MerchantWC08.Services.ViewService.set_path("/VFCatalog/Services/ViewService.asmx");
MerchantWC08.Services.ViewService.GetItemImage= function(itemId,imageElement,onSuccess,onFailed,userContext) {
/// <param name="itemId" type="String">System.String</param>
/// <param name="imageElement" 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>
MerchantWC08.Services.ViewService._staticInstance.GetItemImage(itemId,imageElement,onSuccess,onFailed,userContext); }
MerchantWC08.Services.ViewService.GetModelItemImage= function(itemId,modelId,onSuccess,onFailed,userContext) {
/// <param name="itemId" type="String">System.String</param>
/// <param name="modelId" 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>
MerchantWC08.Services.ViewService._staticInstance.GetModelItemImage(itemId,modelId,onSuccess,onFailed,userContext); }
MerchantWC08.Services.ViewService.GetMapImage= function(fLine,mapType,itemId,model,onSuccess,onFailed,userContext) {
/// <param name="fLine" type="Number">System.Int32</param>
/// <param name="mapType" type="String">System.Char</param>
/// <param name="itemId" type="String">System.String</param>
/// <param name="model" 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>
MerchantWC08.Services.ViewService._staticInstance.GetMapImage(fLine,mapType,itemId,model,onSuccess,onFailed,userContext); }
