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

