Type.registerNamespace('TripLOA.WebService.georef_test_2');
TripLOA.WebService.georef_test_2.WSGeoRef=function() {
TripLOA.WebService.georef_test_2.WSGeoRef.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TripLOA.WebService.georef_test_2.WSGeoRef.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.get_path();},
getGeoTrip: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(), 'getGeoTrip',false,{},succeededCallback,failedCallback,userContext); },
getTripByID:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="Number">System.Int32</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(), 'getTripByID',false,{id:id},succeededCallback,failedCallback,userContext); },
geoCoding:function(location,succeededCallback, failedCallback, userContext) {
/// <param name="location" 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(), 'geoCoding',false,{location:location},succeededCallback,failedCallback,userContext); },
multipleGeoCoding:function(location,succeededCallback, failedCallback, userContext) {
/// <param name="location" type="Array">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(), 'multipleGeoCoding',false,{location:location},succeededCallback,failedCallback,userContext); },
reverseGeoCoding:function(_lat,_lng,succeededCallback, failedCallback, userContext) {
/// <param name="_lat" type="String">System.String</param>
/// <param name="_lng" 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(), 'reverseGeoCoding',false,{_lat:_lat,_lng:_lng},succeededCallback,failedCallback,userContext); }}
TripLOA.WebService.georef_test_2.WSGeoRef.registerClass('TripLOA.WebService.georef_test_2.WSGeoRef',Sys.Net.WebServiceProxy);
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance = new TripLOA.WebService.georef_test_2.WSGeoRef();
TripLOA.WebService.georef_test_2.WSGeoRef.set_path = function(value) {
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.set_path(value); }
TripLOA.WebService.georef_test_2.WSGeoRef.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.get_path();}
TripLOA.WebService.georef_test_2.WSGeoRef.set_timeout = function(value) {
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.set_timeout(value); }
TripLOA.WebService.georef_test_2.WSGeoRef.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.get_timeout(); }
TripLOA.WebService.georef_test_2.WSGeoRef.set_defaultUserContext = function(value) { 
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.set_defaultUserContext(value); }
TripLOA.WebService.georef_test_2.WSGeoRef.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.get_defaultUserContext(); }
TripLOA.WebService.georef_test_2.WSGeoRef.set_defaultSucceededCallback = function(value) { 
 TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.set_defaultSucceededCallback(value); }
TripLOA.WebService.georef_test_2.WSGeoRef.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.get_defaultSucceededCallback(); }
TripLOA.WebService.georef_test_2.WSGeoRef.set_defaultFailedCallback = function(value) { 
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.set_defaultFailedCallback(value); }
TripLOA.WebService.georef_test_2.WSGeoRef.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.get_defaultFailedCallback(); }
TripLOA.WebService.georef_test_2.WSGeoRef.set_path("/service/georef_test_2/WSGeoRef.asmx");
TripLOA.WebService.georef_test_2.WSGeoRef.getGeoTrip= 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>
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.getGeoTrip(onSuccess,onFailed,userContext); }
TripLOA.WebService.georef_test_2.WSGeoRef.getTripByID= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" type="Number">System.Int32</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>
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.getTripByID(id,onSuccess,onFailed,userContext); }
TripLOA.WebService.georef_test_2.WSGeoRef.geoCoding= function(location,onSuccess,onFailed,userContext) {
/// <param name="location" 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>
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.geoCoding(location,onSuccess,onFailed,userContext); }
TripLOA.WebService.georef_test_2.WSGeoRef.multipleGeoCoding= function(location,onSuccess,onFailed,userContext) {
/// <param name="location" type="Array">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>
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.multipleGeoCoding(location,onSuccess,onFailed,userContext); }
TripLOA.WebService.georef_test_2.WSGeoRef.reverseGeoCoding= function(_lat,_lng,onSuccess,onFailed,userContext) {
/// <param name="_lat" type="String">System.String</param>
/// <param name="_lng" 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>
TripLOA.WebService.georef_test_2.WSGeoRef._staticInstance.reverseGeoCoding(_lat,_lng,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('GeoRef');
if (typeof(GeoRef.GeoLoc) === 'undefined') {
GeoRef.GeoLoc=gtc("GeoRef.GeoLoc");
GeoRef.GeoLoc.registerClass('GeoRef.GeoLoc');
}
