Type.registerNamespace('GoLoving.WebApp.WebService');
GoLoving.WebApp.WebService.User=function() {
GoLoving.WebApp.WebService.User.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GoLoving.WebApp.WebService.User.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GoLoving.WebApp.WebService.User._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
AddFriends:function(PID,FID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddFriends',false,{PID:PID,FID:FID},succeededCallback,failedCallback,userContext); },
DeleteFriends:function(PID,FID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteFriends',false,{PID:PID,FID:FID},succeededCallback,failedCallback,userContext); }}
GoLoving.WebApp.WebService.User.registerClass('GoLoving.WebApp.WebService.User',Sys.Net.WebServiceProxy);
GoLoving.WebApp.WebService.User._staticInstance = new GoLoving.WebApp.WebService.User();
GoLoving.WebApp.WebService.User.set_path = function(value) { GoLoving.WebApp.WebService.User._staticInstance.set_path(value); }
GoLoving.WebApp.WebService.User.get_path = function() { return GoLoving.WebApp.WebService.User._staticInstance.get_path(); }
GoLoving.WebApp.WebService.User.set_timeout = function(value) { GoLoving.WebApp.WebService.User._staticInstance.set_timeout(value); }
GoLoving.WebApp.WebService.User.get_timeout = function() { return GoLoving.WebApp.WebService.User._staticInstance.get_timeout(); }
GoLoving.WebApp.WebService.User.set_defaultUserContext = function(value) { GoLoving.WebApp.WebService.User._staticInstance.set_defaultUserContext(value); }
GoLoving.WebApp.WebService.User.get_defaultUserContext = function() { return GoLoving.WebApp.WebService.User._staticInstance.get_defaultUserContext(); }
GoLoving.WebApp.WebService.User.set_defaultSucceededCallback = function(value) { GoLoving.WebApp.WebService.User._staticInstance.set_defaultSucceededCallback(value); }
GoLoving.WebApp.WebService.User.get_defaultSucceededCallback = function() { return GoLoving.WebApp.WebService.User._staticInstance.get_defaultSucceededCallback(); }
GoLoving.WebApp.WebService.User.set_defaultFailedCallback = function(value) { GoLoving.WebApp.WebService.User._staticInstance.set_defaultFailedCallback(value); }
GoLoving.WebApp.WebService.User.get_defaultFailedCallback = function() { return GoLoving.WebApp.WebService.User._staticInstance.get_defaultFailedCallback(); }
GoLoving.WebApp.WebService.User.set_path("/webservice/user.asmx");
GoLoving.WebApp.WebService.User.HelloWorld= function(onSuccess,onFailed,userContext) {GoLoving.WebApp.WebService.User._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
GoLoving.WebApp.WebService.User.AddFriends= function(PID,FID,onSuccess,onFailed,userContext) {GoLoving.WebApp.WebService.User._staticInstance.AddFriends(PID,FID,onSuccess,onFailed,userContext); }
GoLoving.WebApp.WebService.User.DeleteFriends= function(PID,FID,onSuccess,onFailed,userContext) {GoLoving.WebApp.WebService.User._staticInstance.DeleteFriends(PID,FID,onSuccess,onFailed,userContext); }
