Type.registerNamespace('VistaComm.NPC.Web.WebService');
VistaComm.NPC.Web.WebService.NPCWebService=function() {
VistaComm.NPC.Web.WebService.NPCWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VistaComm.NPC.Web.WebService.NPCWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.get_path();},
GetLocations: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(), 'GetLocations',false,{},succeededCallback,failedCallback,userContext); }}
VistaComm.NPC.Web.WebService.NPCWebService.registerClass('VistaComm.NPC.Web.WebService.NPCWebService',Sys.Net.WebServiceProxy);
VistaComm.NPC.Web.WebService.NPCWebService._staticInstance = new VistaComm.NPC.Web.WebService.NPCWebService();
VistaComm.NPC.Web.WebService.NPCWebService.set_path = function(value) {
VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.set_path(value); }
VistaComm.NPC.Web.WebService.NPCWebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.get_path();}
VistaComm.NPC.Web.WebService.NPCWebService.set_timeout = function(value) {
VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.set_timeout(value); }
VistaComm.NPC.Web.WebService.NPCWebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.get_timeout(); }
VistaComm.NPC.Web.WebService.NPCWebService.set_defaultUserContext = function(value) { 
VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.set_defaultUserContext(value); }
VistaComm.NPC.Web.WebService.NPCWebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.get_defaultUserContext(); }
VistaComm.NPC.Web.WebService.NPCWebService.set_defaultSucceededCallback = function(value) { 
 VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.set_defaultSucceededCallback(value); }
VistaComm.NPC.Web.WebService.NPCWebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.get_defaultSucceededCallback(); }
VistaComm.NPC.Web.WebService.NPCWebService.set_defaultFailedCallback = function(value) { 
VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.set_defaultFailedCallback(value); }
VistaComm.NPC.Web.WebService.NPCWebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.get_defaultFailedCallback(); }
VistaComm.NPC.Web.WebService.NPCWebService.set_path("/WebService/NPCWebService.asmx");
VistaComm.NPC.Web.WebService.NPCWebService.GetLocations= 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>
VistaComm.NPC.Web.WebService.NPCWebService._staticInstance.GetLocations(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('VistaComm.NPC.DataLayer.LINQ');
if (typeof(VistaComm.NPC.DataLayer.LINQ.tblLocation) === 'undefined') {
VistaComm.NPC.DataLayer.LINQ.tblLocation=gtc("VistaComm.NPC.DataLayer.LINQ.tblLocation");
VistaComm.NPC.DataLayer.LINQ.tblLocation.registerClass('VistaComm.NPC.DataLayer.LINQ.tblLocation');
}
