var LocationService=function() {
LocationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LocationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return LocationService._staticInstance.get_path();},
GetSuburbs:function(vertex,succeededCallback, failedCallback, userContext) {
/// <param name="vertex" type="Array">DMR.Domain.Vertex[]</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(), 'GetSuburbs',false,{vertex:vertex},succeededCallback,failedCallback,userContext); }}
LocationService.registerClass('LocationService',Sys.Net.WebServiceProxy);
LocationService._staticInstance = new LocationService();
LocationService.set_path = function(value) {
LocationService._staticInstance.set_path(value); }
LocationService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return LocationService._staticInstance.get_path();}
LocationService.set_timeout = function(value) {
LocationService._staticInstance.set_timeout(value); }
LocationService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return LocationService._staticInstance.get_timeout(); }
LocationService.set_defaultUserContext = function(value) { 
LocationService._staticInstance.set_defaultUserContext(value); }
LocationService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return LocationService._staticInstance.get_defaultUserContext(); }
LocationService.set_defaultSucceededCallback = function(value) { 
 LocationService._staticInstance.set_defaultSucceededCallback(value); }
LocationService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return LocationService._staticInstance.get_defaultSucceededCallback(); }
LocationService.set_defaultFailedCallback = function(value) { 
LocationService._staticInstance.set_defaultFailedCallback(value); }
LocationService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return LocationService._staticInstance.get_defaultFailedCallback(); }
LocationService.set_path("/DMR.Modules/TTIEvents/Listing/LocationService.svc");
LocationService.GetSuburbs= function(vertex,onSuccess,onFailed,userContext) {
/// <param name="vertex" type="Array">DMR.Domain.Vertex[]</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>
LocationService._staticInstance.GetSuburbs(vertex,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('DMR.Domain');
if (typeof(DMR.Domain.Vertex) === 'undefined') {
DMR.Domain.Vertex=gtc("Vertex:http://schemas.datacontract.org/2004/07/DMR.Domain");
DMR.Domain.Vertex.registerClass('DMR.Domain.Vertex');
}
