Type.registerNamespace('mapping.webservice');
mapping.webservice.mapData=function() {
mapping.webservice.mapData.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
mapping.webservice.mapData.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return mapping.webservice.mapData._staticInstance.get_path();},
AddToLog:function(action,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToLog',false,{action:action},succeededCallback,failedCallback,userContext); },
HelloWorld:function(str,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{str:str},succeededCallback,failedCallback,userContext); },
GetPOI:function(routeid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPOI',false,{routeid:routeid},succeededCallback,failedCallback,userContext); },
GetPoints:function(routeid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPoints',false,{routeid:routeid},succeededCallback,failedCallback,userContext); },
GetStartingPoints:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStartingPoints',false,{},succeededCallback,failedCallback,userContext); }}
mapping.webservice.mapData.registerClass('mapping.webservice.mapData',Sys.Net.WebServiceProxy);
mapping.webservice.mapData._staticInstance = new mapping.webservice.mapData();
mapping.webservice.mapData.set_path = function(value) { mapping.webservice.mapData._staticInstance.set_path(value); }
mapping.webservice.mapData.get_path = function() { return mapping.webservice.mapData._staticInstance.get_path(); }
mapping.webservice.mapData.set_timeout = function(value) { mapping.webservice.mapData._staticInstance.set_timeout(value); }
mapping.webservice.mapData.get_timeout = function() { return mapping.webservice.mapData._staticInstance.get_timeout(); }
mapping.webservice.mapData.set_defaultUserContext = function(value) { mapping.webservice.mapData._staticInstance.set_defaultUserContext(value); }
mapping.webservice.mapData.get_defaultUserContext = function() { return mapping.webservice.mapData._staticInstance.get_defaultUserContext(); }
mapping.webservice.mapData.set_defaultSucceededCallback = function(value) { mapping.webservice.mapData._staticInstance.set_defaultSucceededCallback(value); }
mapping.webservice.mapData.get_defaultSucceededCallback = function() { return mapping.webservice.mapData._staticInstance.get_defaultSucceededCallback(); }
mapping.webservice.mapData.set_defaultFailedCallback = function(value) { mapping.webservice.mapData._staticInstance.set_defaultFailedCallback(value); }
mapping.webservice.mapData.get_defaultFailedCallback = function() { return mapping.webservice.mapData._staticInstance.get_defaultFailedCallback(); }
mapping.webservice.mapData.set_path("/northyorkmoors/webservice/mappoints.asmx");
mapping.webservice.mapData.AddToLog= function(action,onSuccess,onFailed,userContext) {mapping.webservice.mapData._staticInstance.AddToLog(action,onSuccess,onFailed,userContext); }
mapping.webservice.mapData.HelloWorld= function(str,onSuccess,onFailed,userContext) {mapping.webservice.mapData._staticInstance.HelloWorld(str,onSuccess,onFailed,userContext); }
mapping.webservice.mapData.GetPOI= function(routeid,onSuccess,onFailed,userContext) {mapping.webservice.mapData._staticInstance.GetPOI(routeid,onSuccess,onFailed,userContext); }
mapping.webservice.mapData.GetPoints= function(routeid,onSuccess,onFailed,userContext) {mapping.webservice.mapData._staticInstance.GetPoints(routeid,onSuccess,onFailed,userContext); }
mapping.webservice.mapData.GetStartingPoints= function(onSuccess,onFailed,userContext) {mapping.webservice.mapData._staticInstance.GetStartingPoints(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(mapping.webservice.POI) === 'undefined') {
mapping.webservice.POI=gtc("mapping.webservice.POI");
mapping.webservice.POI.registerClass('mapping.webservice.POI');
}
if (typeof(mapping.webservice.Point) === 'undefined') {
mapping.webservice.Point=gtc("mapping.webservice.Point");
mapping.webservice.Point.registerClass('mapping.webservice.Point');
}
if (typeof(mapping.webservice.startPoint) === 'undefined') {
mapping.webservice.startPoint=gtc("mapping.webservice.startPoint");
mapping.webservice.startPoint.registerClass('mapping.webservice.startPoint');
}

