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

