var GeoWebShortestPathWS=function() {
GeoWebShortestPathWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GeoWebShortestPathWS.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWebShortestPathWS.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetShortestPath:function(PointsString,succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWebShortestPathWS.get_path(), 'GetShortestPath',false,{PointsString:PointsString},succeededCallback,failedCallback,userContext); },
GetShortestPathByGMethod:function(PointsString,succeededCallback, failedCallback, userContext) {
return this._invoke(GeoWebShortestPathWS.get_path(), 'GetShortestPathByGMethod',false,{PointsString:PointsString},succeededCallback,failedCallback,userContext); }}
GeoWebShortestPathWS.registerClass('GeoWebShortestPathWS',Sys.Net.WebServiceProxy);
GeoWebShortestPathWS._staticInstance = new GeoWebShortestPathWS();
GeoWebShortestPathWS.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GeoWebShortestPathWS._staticInstance._path = value; }
GeoWebShortestPathWS.get_path = function() { return GeoWebShortestPathWS._staticInstance._path; }
GeoWebShortestPathWS.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
GeoWebShortestPathWS._staticInstance._timeout = value; }
GeoWebShortestPathWS.get_timeout = function() { 
return GeoWebShortestPathWS._staticInstance._timeout; }
GeoWebShortestPathWS.set_defaultUserContext = function(value) { 
GeoWebShortestPathWS._staticInstance._userContext = value; }
GeoWebShortestPathWS.get_defaultUserContext = function() { 
return GeoWebShortestPathWS._staticInstance._userContext; }
GeoWebShortestPathWS.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GeoWebShortestPathWS._staticInstance._succeeded = value; }
GeoWebShortestPathWS.get_defaultSucceededCallback = function() { 
return GeoWebShortestPathWS._staticInstance._succeeded; }
GeoWebShortestPathWS.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GeoWebShortestPathWS._staticInstance._failed = value; }
GeoWebShortestPathWS.get_defaultFailedCallback = function() { 
return GeoWebShortestPathWS._staticInstance._failed; }
GeoWebShortestPathWS.set_path("/WS/GeoWebShortestPathWS.asmx");
GeoWebShortestPathWS.HelloWorld= function(onSuccess,onFailed,userContext) {GeoWebShortestPathWS._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
GeoWebShortestPathWS.GetShortestPath= function(PointsString,onSuccess,onFailed,userContext) {GeoWebShortestPathWS._staticInstance.GetShortestPath(PointsString,onSuccess,onFailed,userContext); }
GeoWebShortestPathWS.GetShortestPathByGMethod= function(PointsString,onSuccess,onFailed,userContext) {GeoWebShortestPathWS._staticInstance.GetShortestPathByGMethod(PointsString,onSuccess,onFailed,userContext); }
