Type.registerNamespace('InksWebUI.WebServices');
InksWebUI.WebServices.CraftyPostCodeFinderService=function() {
InksWebUI.WebServices.CraftyPostCodeFinderService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
InksWebUI.WebServices.CraftyPostCodeFinderService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
SearchAddresses:function(ukPostCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchAddresses',false,{ukPostCode:ukPostCode},succeededCallback,failedCallback,userContext); }}
InksWebUI.WebServices.CraftyPostCodeFinderService.registerClass('InksWebUI.WebServices.CraftyPostCodeFinderService',Sys.Net.WebServiceProxy);
InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance = new InksWebUI.WebServices.CraftyPostCodeFinderService();
InksWebUI.WebServices.CraftyPostCodeFinderService.set_path = function(value) { InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.set_path(value); }
InksWebUI.WebServices.CraftyPostCodeFinderService.get_path = function() { return InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.get_path(); }
InksWebUI.WebServices.CraftyPostCodeFinderService.set_timeout = function(value) { InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.set_timeout(value); }
InksWebUI.WebServices.CraftyPostCodeFinderService.get_timeout = function() { return InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.get_timeout(); }
InksWebUI.WebServices.CraftyPostCodeFinderService.set_defaultUserContext = function(value) { InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.set_defaultUserContext(value); }
InksWebUI.WebServices.CraftyPostCodeFinderService.get_defaultUserContext = function() { return InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.get_defaultUserContext(); }
InksWebUI.WebServices.CraftyPostCodeFinderService.set_defaultSucceededCallback = function(value) { InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.set_defaultSucceededCallback(value); }
InksWebUI.WebServices.CraftyPostCodeFinderService.get_defaultSucceededCallback = function() { return InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.get_defaultSucceededCallback(); }
InksWebUI.WebServices.CraftyPostCodeFinderService.set_defaultFailedCallback = function(value) { InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.set_defaultFailedCallback(value); }
InksWebUI.WebServices.CraftyPostCodeFinderService.get_defaultFailedCallback = function() { return InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.get_defaultFailedCallback(); }
InksWebUI.WebServices.CraftyPostCodeFinderService.set_path("/webservices/CraftyPostCodeFinderService.asmx");
InksWebUI.WebServices.CraftyPostCodeFinderService.HelloWorld= function(onSuccess,onFailed,userContext) {InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
InksWebUI.WebServices.CraftyPostCodeFinderService.SearchAddresses= function(ukPostCode,onSuccess,onFailed,userContext) {InksWebUI.WebServices.CraftyPostCodeFinderService._staticInstance.SearchAddresses(ukPostCode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SynComs.Customers');
if (typeof(SynComs.Customers.CustomerAddress) === 'undefined') {
SynComs.Customers.CustomerAddress=gtc("SynComs.Customers.CustomerAddress");
SynComs.Customers.CustomerAddress.registerClass('SynComs.Customers.CustomerAddress');
}
