var InsphereService=function() {
InsphereService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
InsphereService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return InsphereService._staticInstance.get_path();},
LicActivate:function(hash,succeededCallback, failedCallback, userContext) {
/// <param name="hash" 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(), 'LicActivate',false,{hash:hash},succeededCallback,failedCallback,userContext); },
GetFreeSize:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetFreeSize',false,{},succeededCallback,failedCallback,userContext); },
SendFeedBack:function(feedback,succeededCallback, failedCallback, userContext) {
/// <param name="feedback" type="FeedBack">FeedBack</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(), 'SendFeedBack',false,{feedback:feedback},succeededCallback,failedCallback,userContext); }}
InsphereService.registerClass('InsphereService',Sys.Net.WebServiceProxy);
InsphereService._staticInstance = new InsphereService();
InsphereService.set_path = function(value) {
InsphereService._staticInstance.set_path(value); }
InsphereService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return InsphereService._staticInstance.get_path();}
InsphereService.set_timeout = function(value) {
InsphereService._staticInstance.set_timeout(value); }
InsphereService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return InsphereService._staticInstance.get_timeout(); }
InsphereService.set_defaultUserContext = function(value) { 
InsphereService._staticInstance.set_defaultUserContext(value); }
InsphereService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return InsphereService._staticInstance.get_defaultUserContext(); }
InsphereService.set_defaultSucceededCallback = function(value) { 
 InsphereService._staticInstance.set_defaultSucceededCallback(value); }
InsphereService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return InsphereService._staticInstance.get_defaultSucceededCallback(); }
InsphereService.set_defaultFailedCallback = function(value) { 
InsphereService._staticInstance.set_defaultFailedCallback(value); }
InsphereService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return InsphereService._staticInstance.get_defaultFailedCallback(); }
InsphereService.set_path("/insphere.asmx");
InsphereService.LicActivate= function(hash,onSuccess,onFailed,userContext) {
/// <param name="hash" 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>
InsphereService._staticInstance.LicActivate(hash,onSuccess,onFailed,userContext); }
InsphereService.GetFreeSize= function(onSuccess,onFailed,userContext) {
/// <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>
InsphereService._staticInstance.GetFreeSize(onSuccess,onFailed,userContext); }
InsphereService.SendFeedBack= function(feedback,onSuccess,onFailed,userContext) {
/// <param name="feedback" type="FeedBack">FeedBack</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>
InsphereService._staticInstance.SendFeedBack(feedback,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(LicActivator) === 'undefined') {
var LicActivator=gtc("LicActivator");
LicActivator.registerClass('LicActivator');
}
if (typeof(FeedBack) === 'undefined') {
var FeedBack=gtc("FeedBack");
FeedBack.registerClass('FeedBack');
}
if (typeof(FeedBackResult) === 'undefined') {
var FeedBackResult=gtc("FeedBackResult");
FeedBackResult.registerClass('FeedBackResult');
}
