var RTPipe=function() {
RTPipe.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RTPipe.prototype={
DoRoute:function(UserKey,fromLat,fromLng,toLat,toLng,succeededCallback, failedCallback, userContext) {
return this._invoke(RTPipe.get_path(), 'DoRoute',false,{UserKey:UserKey,fromLat:fromLat,fromLng:fromLng,toLat:toLat,toLng:toLng},succeededCallback,failedCallback,userContext); }}
RTPipe.registerClass('RTPipe',Sys.Net.WebServiceProxy);
RTPipe._staticInstance = new RTPipe();
RTPipe.set_path = function(value) { RTPipe._staticInstance._path = value; }
RTPipe.get_path = function() { return RTPipe._staticInstance._path; }
RTPipe.set_timeout = function(value) { RTPipe._staticInstance._timeout = value; }
RTPipe.get_timeout = function() { return RTPipe._staticInstance._timeout; }
RTPipe.set_defaultUserContext = function(value) { RTPipe._staticInstance._userContext = value; }
RTPipe.get_defaultUserContext = function() { return RTPipe._staticInstance._userContext; }
RTPipe.set_defaultSucceededCallback = function(value) { RTPipe._staticInstance._succeeded = value; }
RTPipe.get_defaultSucceededCallback = function() { return RTPipe._staticInstance._succeeded; }
RTPipe.set_defaultFailedCallback = function(value) { RTPipe._staticInstance._failed = value; }
RTPipe.get_defaultFailedCallback = function() { return RTPipe._staticInstance._failed; }
RTPipe.set_path("/vinefinders/locator/RTPipe.asmx");
RTPipe.DoRoute= function(UserKey,fromLat,fromLng,toLat,toLng,onSuccess,onFailed,userContext) {RTPipe._staticInstance.DoRoute(UserKey,fromLat,fromLng,toLat,toLng,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(RTPipe_RouteResult) === 'undefined') {
var RTPipe_RouteResult=gtc("RTPipe+RouteResult");
RTPipe_RouteResult.registerClass('RTPipe_RouteResult');
}

