Type.registerNamespace('wsandar.Business');
wsandar.Business.WebService=function() {
wsandar.Business.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wsandar.Business.WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return wsandar.Business.WebService._staticInstance.get_path();},
GetNoticia:function(noticiaid,succeededCallback, failedCallback, userContext) {
/// <param name="noticiaid" 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(), 'GetNoticia',false,{noticiaid:noticiaid},succeededCallback,failedCallback,userContext); }}
wsandar.Business.WebService.registerClass('wsandar.Business.WebService',Sys.Net.WebServiceProxy);
wsandar.Business.WebService._staticInstance = new wsandar.Business.WebService();
wsandar.Business.WebService.set_path = function(value) {
wsandar.Business.WebService._staticInstance.set_path(value); }
wsandar.Business.WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return wsandar.Business.WebService._staticInstance.get_path();}
wsandar.Business.WebService.set_timeout = function(value) {
wsandar.Business.WebService._staticInstance.set_timeout(value); }
wsandar.Business.WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return wsandar.Business.WebService._staticInstance.get_timeout(); }
wsandar.Business.WebService.set_defaultUserContext = function(value) { 
wsandar.Business.WebService._staticInstance.set_defaultUserContext(value); }
wsandar.Business.WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return wsandar.Business.WebService._staticInstance.get_defaultUserContext(); }
wsandar.Business.WebService.set_defaultSucceededCallback = function(value) { 
 wsandar.Business.WebService._staticInstance.set_defaultSucceededCallback(value); }
wsandar.Business.WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return wsandar.Business.WebService._staticInstance.get_defaultSucceededCallback(); }
wsandar.Business.WebService.set_defaultFailedCallback = function(value) { 
wsandar.Business.WebService._staticInstance.set_defaultFailedCallback(value); }
wsandar.Business.WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return wsandar.Business.WebService._staticInstance.get_defaultFailedCallback(); }
wsandar.Business.WebService.set_path("/Business/WebService.asmx");
wsandar.Business.WebService.GetNoticia= function(noticiaid,onSuccess,onFailed,userContext) {
/// <param name="noticiaid" 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>
wsandar.Business.WebService._staticInstance.GetNoticia(noticiaid,onSuccess,onFailed,userContext); }
