var PostcodeHelper=function() {
PostcodeHelper.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PostcodeHelper.prototype={
GetCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(PostcodeHelper.get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
IsValidPostcodeStem:function(postcodeStem,succeededCallback, failedCallback, userContext) {
return this._invoke(PostcodeHelper.get_path(), 'IsValidPostcodeStem',false,{postcodeStem:postcodeStem},succeededCallback,failedCallback,userContext); }}
PostcodeHelper.registerClass('PostcodeHelper',Sys.Net.WebServiceProxy);
PostcodeHelper._staticInstance = new PostcodeHelper();
PostcodeHelper.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; PostcodeHelper._staticInstance._path = value; }
PostcodeHelper.get_path = function() { return PostcodeHelper._staticInstance._path; }
PostcodeHelper.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); }
PostcodeHelper._staticInstance._timeout = value; }
PostcodeHelper.get_timeout = function() { 
return PostcodeHelper._staticInstance._timeout; }
PostcodeHelper.set_defaultUserContext = function(value) { 
PostcodeHelper._staticInstance._userContext = value; }
PostcodeHelper.get_defaultUserContext = function() { 
return PostcodeHelper._staticInstance._userContext; }
PostcodeHelper.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; PostcodeHelper._staticInstance._succeeded = value; }
PostcodeHelper.get_defaultSucceededCallback = function() { 
return PostcodeHelper._staticInstance._succeeded; }
PostcodeHelper.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; PostcodeHelper._staticInstance._failed = value; }
PostcodeHelper.get_defaultFailedCallback = function() { 
return PostcodeHelper._staticInstance._failed; }
PostcodeHelper.set_path("/PostcodeHelper.asmx");
PostcodeHelper.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {PostcodeHelper._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
PostcodeHelper.IsValidPostcodeStem= function(postcodeStem,onSuccess,onFailed,userContext) {PostcodeHelper._staticInstance.IsValidPostcodeStem(postcodeStem,onSuccess,onFailed,userContext); }
