var IpService=function() {
IpService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
IpService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return IpService._staticInstance.get_path();},
GetCountryCodeByDomain:function(domain,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCountryCodeByDomain',false,{domain:domain},succeededCallback,failedCallback,userContext); },
GetLocationByDomain:function(domain,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocationByDomain',false,{domain:domain},succeededCallback,failedCallback,userContext); },
GetCountryCode:function(ip,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCountryCode',false,{ip:ip},succeededCallback,failedCallback,userContext); },
GetLocation:function(ip,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocation',false,{ip:ip},succeededCallback,failedCallback,userContext); }}
IpService.registerClass('IpService',Sys.Net.WebServiceProxy);
IpService._staticInstance = new IpService();
IpService.set_path = function(value) { IpService._staticInstance.set_path(value); }
IpService.get_path = function() { return IpService._staticInstance.get_path(); }
IpService.set_timeout = function(value) { IpService._staticInstance.set_timeout(value); }
IpService.get_timeout = function() { return IpService._staticInstance.get_timeout(); }
IpService.set_defaultUserContext = function(value) { IpService._staticInstance.set_defaultUserContext(value); }
IpService.get_defaultUserContext = function() { return IpService._staticInstance.get_defaultUserContext(); }
IpService.set_defaultSucceededCallback = function(value) { IpService._staticInstance.set_defaultSucceededCallback(value); }
IpService.get_defaultSucceededCallback = function() { return IpService._staticInstance.get_defaultSucceededCallback(); }
IpService.set_defaultFailedCallback = function(value) { IpService._staticInstance.set_defaultFailedCallback(value); }
IpService.get_defaultFailedCallback = function() { return IpService._staticInstance.get_defaultFailedCallback(); }
IpService.set_path("/IpService.asmx");
IpService.GetCountryCodeByDomain= function(domain,onSuccess,onFailed,userContext) {IpService._staticInstance.GetCountryCodeByDomain(domain,onSuccess,onFailed,userContext); }
IpService.GetLocationByDomain= function(domain,onSuccess,onFailed,userContext) {IpService._staticInstance.GetLocationByDomain(domain,onSuccess,onFailed,userContext); }
IpService.GetCountryCode= function(ip,onSuccess,onFailed,userContext) {IpService._staticInstance.GetCountryCode(ip,onSuccess,onFailed,userContext); }
IpService.GetLocation= function(ip,onSuccess,onFailed,userContext) {IpService._staticInstance.GetLocation(ip,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(PointData) === 'undefined') {
var PointData=gtc("PointData");
PointData.registerClass('PointData');
}

