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