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