var LifeShareWS=function() {
LifeShareWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LifeShareWS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return LifeShareWS._staticInstance.get_path();},
AddShare:function(title,content,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddShare',false,{title:title,content:content},succeededCallback,failedCallback,userContext); },
SetLifeType:function(lifestyle,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetLifeType',false,{lifestyle:lifestyle},succeededCallback,failedCallback,userContext); }}
LifeShareWS.registerClass('LifeShareWS',Sys.Net.WebServiceProxy);
LifeShareWS._staticInstance = new LifeShareWS();
LifeShareWS.set_path = function(value) { LifeShareWS._staticInstance.set_path(value); }
LifeShareWS.get_path = function() { return LifeShareWS._staticInstance.get_path(); }
LifeShareWS.set_timeout = function(value) { LifeShareWS._staticInstance.set_timeout(value); }
LifeShareWS.get_timeout = function() { return LifeShareWS._staticInstance.get_timeout(); }
LifeShareWS.set_defaultUserContext = function(value) { LifeShareWS._staticInstance.set_defaultUserContext(value); }
LifeShareWS.get_defaultUserContext = function() { return LifeShareWS._staticInstance.get_defaultUserContext(); }
LifeShareWS.set_defaultSucceededCallback = function(value) { LifeShareWS._staticInstance.set_defaultSucceededCallback(value); }
LifeShareWS.get_defaultSucceededCallback = function() { return LifeShareWS._staticInstance.get_defaultSucceededCallback(); }
LifeShareWS.set_defaultFailedCallback = function(value) { LifeShareWS._staticInstance.set_defaultFailedCallback(value); }
LifeShareWS.get_defaultFailedCallback = function() { return LifeShareWS._staticInstance.get_defaultFailedCallback(); }
LifeShareWS.set_path("/webservice/LifeShareWS.asmx");
LifeShareWS.AddShare= function(title,content,onSuccess,onFailed,userContext) {LifeShareWS._staticInstance.AddShare(title,content,onSuccess,onFailed,userContext); }
LifeShareWS.SetLifeType= function(lifestyle,onSuccess,onFailed,userContext) {LifeShareWS._staticInstance.SetLifeType(lifestyle,onSuccess,onFailed,userContext); }

