var GetProductInfo=function() {
GetProductInfo.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GetProductInfo.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GetProductInfo._staticInstance.get_path();},
GetNameAndDescription:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" 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(), 'GetNameAndDescription',false,{id:id},succeededCallback,failedCallback,userContext); },
GetDetailPath:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" 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(), 'GetDetailPath',false,{id:id},succeededCallback,failedCallback,userContext); },
GetImage:function(id,isPreview,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="Number">System.Int32</param>
/// <param name="isPreview" type="Boolean">System.Boolean</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(), 'GetImage',false,{id:id,isPreview:isPreview},succeededCallback,failedCallback,userContext); },
GetImagesForTOS:function(onlyWorldDoors,succeededCallback, failedCallback, userContext) {
/// <param name="onlyWorldDoors" type="Boolean">System.Boolean</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(), 'GetImagesForTOS',false,{onlyWorldDoors:onlyWorldDoors},succeededCallback,failedCallback,userContext); }}
GetProductInfo.registerClass('GetProductInfo',Sys.Net.WebServiceProxy);
GetProductInfo._staticInstance = new GetProductInfo();
GetProductInfo.set_path = function(value) {
GetProductInfo._staticInstance.set_path(value); }
GetProductInfo.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return GetProductInfo._staticInstance.get_path();}
GetProductInfo.set_timeout = function(value) {
GetProductInfo._staticInstance.set_timeout(value); }
GetProductInfo.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return GetProductInfo._staticInstance.get_timeout(); }
GetProductInfo.set_defaultUserContext = function(value) { 
GetProductInfo._staticInstance.set_defaultUserContext(value); }
GetProductInfo.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return GetProductInfo._staticInstance.get_defaultUserContext(); }
GetProductInfo.set_defaultSucceededCallback = function(value) { 
 GetProductInfo._staticInstance.set_defaultSucceededCallback(value); }
GetProductInfo.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return GetProductInfo._staticInstance.get_defaultSucceededCallback(); }
GetProductInfo.set_defaultFailedCallback = function(value) { 
GetProductInfo._staticInstance.set_defaultFailedCallback(value); }
GetProductInfo.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return GetProductInfo._staticInstance.get_defaultFailedCallback(); }
GetProductInfo.set_path("/GetProductInfo.asmx");
GetProductInfo.GetNameAndDescription= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" 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>
GetProductInfo._staticInstance.GetNameAndDescription(id,onSuccess,onFailed,userContext); }
GetProductInfo.GetDetailPath= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" 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>
GetProductInfo._staticInstance.GetDetailPath(id,onSuccess,onFailed,userContext); }
GetProductInfo.GetImage= function(id,isPreview,onSuccess,onFailed,userContext) {
/// <param name="id" type="Number">System.Int32</param>
/// <param name="isPreview" type="Boolean">System.Boolean</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>
GetProductInfo._staticInstance.GetImage(id,isPreview,onSuccess,onFailed,userContext); }
GetProductInfo.GetImagesForTOS= function(onlyWorldDoors,onSuccess,onFailed,userContext) {
/// <param name="onlyWorldDoors" type="Boolean">System.Boolean</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>
GetProductInfo._staticInstance.GetImagesForTOS(onlyWorldDoors,onSuccess,onFailed,userContext); }
