var Services=function() {
Services.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Services.prototype={
_get_path:function() {
var p = this.get_path();
if (p) return p;
else return Services._staticInstance.get_path();},
LogAd:function(log,succeededCallback, failedCallback, userContext) {
/// System.String
///
///
///
return this._invoke(this._get_path(), 'LogAd',false,{log:log},succeededCallback,failedCallback,userContext); }}
Services.registerClass('Services',Sys.Net.WebServiceProxy);
Services._staticInstance = new Services();
Services.set_path = function(value) {
Services._staticInstance.set_path(value); }
Services.get_path = function() {
/// The service url.
return Services._staticInstance.get_path();}
Services.set_timeout = function(value) {
Services._staticInstance.set_timeout(value); }
Services.get_timeout = function() {
/// The service timeout.
return Services._staticInstance.get_timeout(); }
Services.set_defaultUserContext = function(value) {
Services._staticInstance.set_defaultUserContext(value); }
Services.get_defaultUserContext = function() {
/// The service default user context.
return Services._staticInstance.get_defaultUserContext(); }
Services.set_defaultSucceededCallback = function(value) {
Services._staticInstance.set_defaultSucceededCallback(value); }
Services.get_defaultSucceededCallback = function() {
/// The service default succeeded callback.
return Services._staticInstance.get_defaultSucceededCallback(); }
Services.set_defaultFailedCallback = function(value) {
Services._staticInstance.set_defaultFailedCallback(value); }
Services.get_defaultFailedCallback = function() {
/// The service default failed callback.
return Services._staticInstance.get_defaultFailedCallback(); }
Services.set_enableJsonp = function(value) { Services._staticInstance.set_enableJsonp(value); }
Services.get_enableJsonp = function() {
/// Specifies whether the service supports JSONP for cross domain calling.
return Services._staticInstance.get_enableJsonp(); }
Services.set_jsonpCallbackParameter = function(value) { Services._staticInstance.set_jsonpCallbackParameter(value); }
Services.get_jsonpCallbackParameter = function() {
/// Specifies the parameter name that contains the callback function name for a JSONP request.
return Services._staticInstance.get_jsonpCallbackParameter(); }
Services.set_path("/Services.asmx");
Services.LogAd= function(log,onSuccess,onFailed,userContext) {
/// System.String
///
///
///
Services._staticInstance.LogAd(log,onSuccess,onFailed,userContext); }