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

