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