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