Type.registerNamespace('BMDB.Web.Service');
BMDB.Web.Service.Accountws=function() {
BMDB.Web.Service.Accountws.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BMDB.Web.Service.Accountws.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BMDB.Web.Service.Accountws._staticInstance.get_path();},
Get:function(accountID,succeededCallback, failedCallback, userContext) {
/// <param name="accountID" type="Number">System.Int32</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(), 'Get',false,{accountID:accountID},succeededCallback,failedCallback,userContext); },
NameExists:function(accountName,succeededCallback, failedCallback, userContext) {
/// <param name="accountName" 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(), 'NameExists',false,{accountName:accountName},succeededCallback,failedCallback,userContext); },
GetGoogleMapProduct:function(precinctID,sectorIDList,classificationID,viewUrl,markerImageID,imageBaseUrl,showSurrounding,succeededCallback, failedCallback, userContext) {
/// <param name="precinctID" type="Number">System.Int32</param>
/// <param name="sectorIDList" type="String">System.String</param>
/// <param name="classificationID" type="Number">System.Int32</param>
/// <param name="viewUrl" type="String">System.String</param>
/// <param name="markerImageID" type="Number">System.Int32</param>
/// <param name="imageBaseUrl" type="String">System.String</param>
/// <param name="showSurrounding" type="Boolean">System.Boolean</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(), 'GetGoogleMapProduct',false,{precinctID:precinctID,sectorIDList:sectorIDList,classificationID:classificationID,viewUrl:viewUrl,markerImageID:markerImageID,imageBaseUrl:imageBaseUrl,showSurrounding:showSurrounding},succeededCallback,failedCallback,userContext); }}
BMDB.Web.Service.Accountws.registerClass('BMDB.Web.Service.Accountws',Sys.Net.WebServiceProxy);
BMDB.Web.Service.Accountws._staticInstance = new BMDB.Web.Service.Accountws();
BMDB.Web.Service.Accountws.set_path = function(value) {
BMDB.Web.Service.Accountws._staticInstance.set_path(value); }
BMDB.Web.Service.Accountws.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return BMDB.Web.Service.Accountws._staticInstance.get_path();}
BMDB.Web.Service.Accountws.set_timeout = function(value) {
BMDB.Web.Service.Accountws._staticInstance.set_timeout(value); }
BMDB.Web.Service.Accountws.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return BMDB.Web.Service.Accountws._staticInstance.get_timeout(); }
BMDB.Web.Service.Accountws.set_defaultUserContext = function(value) { 
BMDB.Web.Service.Accountws._staticInstance.set_defaultUserContext(value); }
BMDB.Web.Service.Accountws.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return BMDB.Web.Service.Accountws._staticInstance.get_defaultUserContext(); }
BMDB.Web.Service.Accountws.set_defaultSucceededCallback = function(value) { 
 BMDB.Web.Service.Accountws._staticInstance.set_defaultSucceededCallback(value); }
BMDB.Web.Service.Accountws.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return BMDB.Web.Service.Accountws._staticInstance.get_defaultSucceededCallback(); }
BMDB.Web.Service.Accountws.set_defaultFailedCallback = function(value) { 
BMDB.Web.Service.Accountws._staticInstance.set_defaultFailedCallback(value); }
BMDB.Web.Service.Accountws.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return BMDB.Web.Service.Accountws._staticInstance.get_defaultFailedCallback(); }
BMDB.Web.Service.Accountws.set_path("/Resources/WebServices/wsAccount.svc");
BMDB.Web.Service.Accountws.Get= function(accountID,onSuccess,onFailed,userContext) {
/// <param name="accountID" type="Number">System.Int32</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>
BMDB.Web.Service.Accountws._staticInstance.Get(accountID,onSuccess,onFailed,userContext); }
BMDB.Web.Service.Accountws.NameExists= function(accountName,onSuccess,onFailed,userContext) {
/// <param name="accountName" 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>
BMDB.Web.Service.Accountws._staticInstance.NameExists(accountName,onSuccess,onFailed,userContext); }
BMDB.Web.Service.Accountws.GetGoogleMapProduct= function(precinctID,sectorIDList,classificationID,viewUrl,markerImageID,imageBaseUrl,showSurrounding,onSuccess,onFailed,userContext) {
/// <param name="precinctID" type="Number">System.Int32</param>
/// <param name="sectorIDList" type="String">System.String</param>
/// <param name="classificationID" type="Number">System.Int32</param>
/// <param name="viewUrl" type="String">System.String</param>
/// <param name="markerImageID" type="Number">System.Int32</param>
/// <param name="imageBaseUrl" type="String">System.String</param>
/// <param name="showSurrounding" type="Boolean">System.Boolean</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>
BMDB.Web.Service.Accountws._staticInstance.GetGoogleMapProduct(precinctID,sectorIDList,classificationID,viewUrl,markerImageID,imageBaseUrl,showSurrounding,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('BMLibrary.BLL');
if (typeof(BMLibrary.BLL.Account) === 'undefined') {
BMLibrary.BLL.Account=gtc("Account:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.Account.registerClass('BMLibrary.BLL.Account');
}
if (typeof(BMLibrary.BLL.EntityTag) === 'undefined') {
BMLibrary.BLL.EntityTag=gtc("EntityTag:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.EntityTag.registerClass('BMLibrary.BLL.EntityTag');
}
if (typeof(BMLibrary.BLL.AccountGeo) === 'undefined') {
BMLibrary.BLL.AccountGeo=gtc("AccountGeo:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.AccountGeo.registerClass('BMLibrary.BLL.AccountGeo');
}
if (typeof(BMLibrary.BLL.BizObject) === 'undefined') {
BMLibrary.BLL.BizObject=gtc("BizObject:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.BizObject.registerClass('BMLibrary.BLL.BizObject');
}
if (typeof(BMLibrary.BLL.Address) === 'undefined') {
BMLibrary.BLL.Address=gtc("Address:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.Address.registerClass('BMLibrary.BLL.Address');
}
if (typeof(BMLibrary.BLL.StaticType) === 'undefined') {
BMLibrary.BLL.StaticType=gtc("StaticType:http://schemas.datacontract.org/2004/07/BMLibrary.BLL");
BMLibrary.BLL.StaticType.registerClass('BMLibrary.BLL.StaticType');
}
Type.registerNamespace('BMLibrary.Web');
if (typeof(BMLibrary.Web.GoogleMapMarker) === 'undefined') {
BMLibrary.Web.GoogleMapMarker=gtc("GoogleMapMarker:http://schemas.datacontract.org/2004/07/BMLibrary.Web");
BMLibrary.Web.GoogleMapMarker.registerClass('BMLibrary.Web.GoogleMapMarker');
}

