Type.registerNamespace('PostCodeWS');
PostCodeWS.PostCodeWebService=function() {
PostCodeWS.PostCodeWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PostCodeWS.PostCodeWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PostCodeWS.PostCodeWebService._staticInstance.get_path();},
FindPostcodeExtent:function(postcode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FindPostcodeExtent',false,{postcode:postcode},succeededCallback,failedCallback,userContext); }}
PostCodeWS.PostCodeWebService.registerClass('PostCodeWS.PostCodeWebService',Sys.Net.WebServiceProxy);
PostCodeWS.PostCodeWebService._staticInstance = new PostCodeWS.PostCodeWebService();
PostCodeWS.PostCodeWebService.set_path = function(value) { PostCodeWS.PostCodeWebService._staticInstance.set_path(value); }
PostCodeWS.PostCodeWebService.get_path = function() { return PostCodeWS.PostCodeWebService._staticInstance.get_path(); }
PostCodeWS.PostCodeWebService.set_timeout = function(value) { PostCodeWS.PostCodeWebService._staticInstance.set_timeout(value); }
PostCodeWS.PostCodeWebService.get_timeout = function() { return PostCodeWS.PostCodeWebService._staticInstance.get_timeout(); }
PostCodeWS.PostCodeWebService.set_defaultUserContext = function(value) { PostCodeWS.PostCodeWebService._staticInstance.set_defaultUserContext(value); }
PostCodeWS.PostCodeWebService.get_defaultUserContext = function() { return PostCodeWS.PostCodeWebService._staticInstance.get_defaultUserContext(); }
PostCodeWS.PostCodeWebService.set_defaultSucceededCallback = function(value) { PostCodeWS.PostCodeWebService._staticInstance.set_defaultSucceededCallback(value); }
PostCodeWS.PostCodeWebService.get_defaultSucceededCallback = function() { return PostCodeWS.PostCodeWebService._staticInstance.get_defaultSucceededCallback(); }
PostCodeWS.PostCodeWebService.set_defaultFailedCallback = function(value) { PostCodeWS.PostCodeWebService._staticInstance.set_defaultFailedCallback(value); }
PostCodeWS.PostCodeWebService.get_defaultFailedCallback = function() { return PostCodeWS.PostCodeWebService._staticInstance.get_defaultFailedCallback(); }
PostCodeWS.PostCodeWebService.set_path("/_vti_bin/PostCodeWebService.asmx");
PostCodeWS.PostCodeWebService.FindPostcodeExtent= function(postcode,onSuccess,onFailed,userContext) {PostCodeWS.PostCodeWebService._staticInstance.FindPostcodeExtent(postcode,onSuccess,onFailed,userContext); }

