Type.registerNamespace('OtherPage.webservice');
OtherPage.webservice.otherpageWS=function() {
OtherPage.webservice.otherpageWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
OtherPage.webservice.otherpageWS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return OtherPage.webservice.otherpageWS._staticInstance.get_path();},
saveproductrank:function(masterproductID,rank,succeededCallback, failedCallback, userContext) {
/// <param name="masterproductID" type="Number">System.Int32</param>
/// <param name="rank" 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(), 'saveproductrank',false,{masterproductID:masterproductID,rank:rank},succeededCallback,failedCallback,userContext); }}
OtherPage.webservice.otherpageWS.registerClass('OtherPage.webservice.otherpageWS',Sys.Net.WebServiceProxy);
OtherPage.webservice.otherpageWS._staticInstance = new OtherPage.webservice.otherpageWS();
OtherPage.webservice.otherpageWS.set_path = function(value) {
OtherPage.webservice.otherpageWS._staticInstance.set_path(value); }
OtherPage.webservice.otherpageWS.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return OtherPage.webservice.otherpageWS._staticInstance.get_path();}
OtherPage.webservice.otherpageWS.set_timeout = function(value) {
OtherPage.webservice.otherpageWS._staticInstance.set_timeout(value); }
OtherPage.webservice.otherpageWS.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return OtherPage.webservice.otherpageWS._staticInstance.get_timeout(); }
OtherPage.webservice.otherpageWS.set_defaultUserContext = function(value) { 
OtherPage.webservice.otherpageWS._staticInstance.set_defaultUserContext(value); }
OtherPage.webservice.otherpageWS.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return OtherPage.webservice.otherpageWS._staticInstance.get_defaultUserContext(); }
OtherPage.webservice.otherpageWS.set_defaultSucceededCallback = function(value) { 
 OtherPage.webservice.otherpageWS._staticInstance.set_defaultSucceededCallback(value); }
OtherPage.webservice.otherpageWS.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return OtherPage.webservice.otherpageWS._staticInstance.get_defaultSucceededCallback(); }
OtherPage.webservice.otherpageWS.set_defaultFailedCallback = function(value) { 
OtherPage.webservice.otherpageWS._staticInstance.set_defaultFailedCallback(value); }
OtherPage.webservice.otherpageWS.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return OtherPage.webservice.otherpageWS._staticInstance.get_defaultFailedCallback(); }
OtherPage.webservice.otherpageWS.set_enableJsonp = function(value) { OtherPage.webservice.otherpageWS._staticInstance.set_enableJsonp(value); }
OtherPage.webservice.otherpageWS.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return OtherPage.webservice.otherpageWS._staticInstance.get_enableJsonp(); }
OtherPage.webservice.otherpageWS.set_jsonpCallbackParameter = function(value) { OtherPage.webservice.otherpageWS._staticInstance.set_jsonpCallbackParameter(value); }
OtherPage.webservice.otherpageWS.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return OtherPage.webservice.otherpageWS._staticInstance.get_jsonpCallbackParameter(); }
OtherPage.webservice.otherpageWS.set_path("/webservice/otherpageWS.asmx");
OtherPage.webservice.otherpageWS.saveproductrank= function(masterproductID,rank,onSuccess,onFailed,userContext) {
/// <param name="masterproductID" type="Number">System.Int32</param>
/// <param name="rank" 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>
OtherPage.webservice.otherpageWS._staticInstance.saveproductrank(masterproductID,rank,onSuccess,onFailed,userContext); }
