Type.registerNamespace('VoxPopVoyages.Web._ws');
VoxPopVoyages.Web._ws.usersws=function() {
VoxPopVoyages.Web._ws.usersws.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VoxPopVoyages.Web._ws.usersws.prototype={
displayNameExists:function(displayName,succeededCallback, failedCallback, userContext) {
return this._invoke(VoxPopVoyages.Web._ws.usersws.get_path(), 'displayNameExists',false,{displayName:displayName},succeededCallback,failedCallback,userContext); },
emailExists:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(VoxPopVoyages.Web._ws.usersws.get_path(), 'emailExists',false,{email:email},succeededCallback,failedCallback,userContext); }}
VoxPopVoyages.Web._ws.usersws.registerClass('VoxPopVoyages.Web._ws.usersws',Sys.Net.WebServiceProxy);
VoxPopVoyages.Web._ws.usersws._staticInstance = new VoxPopVoyages.Web._ws.usersws();
VoxPopVoyages.Web._ws.usersws.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; VoxPopVoyages.Web._ws.usersws._staticInstance._path = value; }
VoxPopVoyages.Web._ws.usersws.get_path = function() { return VoxPopVoyages.Web._ws.usersws._staticInstance._path; }
VoxPopVoyages.Web._ws.usersws.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
VoxPopVoyages.Web._ws.usersws._staticInstance._timeout = value; }
VoxPopVoyages.Web._ws.usersws.get_timeout = function() { 
return VoxPopVoyages.Web._ws.usersws._staticInstance._timeout; }
VoxPopVoyages.Web._ws.usersws.set_defaultUserContext = function(value) { 
VoxPopVoyages.Web._ws.usersws._staticInstance._userContext = value; }
VoxPopVoyages.Web._ws.usersws.get_defaultUserContext = function() { 
return VoxPopVoyages.Web._ws.usersws._staticInstance._userContext; }
VoxPopVoyages.Web._ws.usersws.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; VoxPopVoyages.Web._ws.usersws._staticInstance._succeeded = value; }
VoxPopVoyages.Web._ws.usersws.get_defaultSucceededCallback = function() { 
return VoxPopVoyages.Web._ws.usersws._staticInstance._succeeded; }
VoxPopVoyages.Web._ws.usersws.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; VoxPopVoyages.Web._ws.usersws._staticInstance._failed = value; }
VoxPopVoyages.Web._ws.usersws.get_defaultFailedCallback = function() { 
return VoxPopVoyages.Web._ws.usersws._staticInstance._failed; }
VoxPopVoyages.Web._ws.usersws.set_path("/_ws/usersws.asmx");
VoxPopVoyages.Web._ws.usersws.displayNameExists= function(displayName,onSuccess,onFailed,userContext) {VoxPopVoyages.Web._ws.usersws._staticInstance.displayNameExists(displayName,onSuccess,onFailed,userContext); }
VoxPopVoyages.Web._ws.usersws.emailExists= function(email,onSuccess,onFailed,userContext) {VoxPopVoyages.Web._ws.usersws._staticInstance.emailExists(email,onSuccess,onFailed,userContext); }
