var ad=function() {
ad.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ad.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ad.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
get_ad:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ad.get_path(), 'get_ad',false,{},succeededCallback,failedCallback,userContext); }}
ad.registerClass('ad',Sys.Net.WebServiceProxy);
ad._staticInstance = new ad();
ad.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ad._staticInstance._path = value; }
ad.get_path = function() { return ad._staticInstance._path; }
ad.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
ad._staticInstance._timeout = value; }
ad.get_timeout = function() { 
return ad._staticInstance._timeout; }
ad.set_defaultUserContext = function(value) { 
ad._staticInstance._userContext = value; }
ad.get_defaultUserContext = function() { 
return ad._staticInstance._userContext; }
ad.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ad._staticInstance._succeeded = value; }
ad.get_defaultSucceededCallback = function() { 
return ad._staticInstance._succeeded; }
ad.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ad._staticInstance._failed = value; }
ad.get_defaultFailedCallback = function() { 
return ad._staticInstance._failed; }
ad.set_path("/ssd/ad.asmx");
ad.HelloWorld= function(onSuccess,onFailed,userContext) {ad._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
ad.get_ad= function(onSuccess,onFailed,userContext) {ad._staticInstance.get_ad(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(aditem) === 'undefined') {
var aditem=gtc("aditem");
aditem.registerClass('aditem');
}

