Type.registerNamespace('ThirstyGoldfish');
ThirstyGoldfish.WebService=function() {
ThirstyGoldfish.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ThirstyGoldfish.WebService.prototype={
GetNews:function(_postName,succeededCallback, failedCallback, userContext) {
return this._invoke(ThirstyGoldfish.WebService.get_path(), 'GetNews',false,{_postName:_postName},succeededCallback,failedCallback,userContext); }}
ThirstyGoldfish.WebService.registerClass('ThirstyGoldfish.WebService',Sys.Net.WebServiceProxy);
ThirstyGoldfish.WebService._staticInstance = new ThirstyGoldfish.WebService();
ThirstyGoldfish.WebService.set_path = function(value) { ThirstyGoldfish.WebService._staticInstance._path = value; }
ThirstyGoldfish.WebService.get_path = function() { return ThirstyGoldfish.WebService._staticInstance._path; }
ThirstyGoldfish.WebService.set_timeout = function(value) { ThirstyGoldfish.WebService._staticInstance._timeout = value; }
ThirstyGoldfish.WebService.get_timeout = function() { return ThirstyGoldfish.WebService._staticInstance._timeout; }
ThirstyGoldfish.WebService.set_defaultUserContext = function(value) { ThirstyGoldfish.WebService._staticInstance._userContext = value; }
ThirstyGoldfish.WebService.get_defaultUserContext = function() { return ThirstyGoldfish.WebService._staticInstance._userContext; }
ThirstyGoldfish.WebService.set_defaultSucceededCallback = function(value) { ThirstyGoldfish.WebService._staticInstance._succeeded = value; }
ThirstyGoldfish.WebService.get_defaultSucceededCallback = function() { return ThirstyGoldfish.WebService._staticInstance._succeeded; }
ThirstyGoldfish.WebService.set_defaultFailedCallback = function(value) { ThirstyGoldfish.WebService._staticInstance._failed = value; }
ThirstyGoldfish.WebService.get_defaultFailedCallback = function() { return ThirstyGoldfish.WebService._staticInstance._failed; }
ThirstyGoldfish.WebService.set_path("/ThirstyGoldfish.WebService.asmx");
ThirstyGoldfish.WebService.GetNews= function(_postName,onSuccess,onFailed,userContext) {ThirstyGoldfish.WebService._staticInstance.GetNews(_postName,onSuccess,onFailed,userContext); }
