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