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

