Type.registerNamespace('MainModule.Common');
MainModule.Common.wsFindAddress=function() {
MainModule.Common.wsFindAddress.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MainModule.Common.wsFindAddress.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MainModule.Common.wsFindAddress._staticInstance.get_path();},
GetAddress:function(pPostcode,succeededCallback, failedCallback, userContext) {
/// <param name="pPostcode" type="String">System.String</param>
/// <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(), 'GetAddress',true,{pPostcode:pPostcode},succeededCallback,failedCallback,userContext); }}
MainModule.Common.wsFindAddress.registerClass('MainModule.Common.wsFindAddress',Sys.Net.WebServiceProxy);
MainModule.Common.wsFindAddress._staticInstance = new MainModule.Common.wsFindAddress();
MainModule.Common.wsFindAddress.set_path = function(value) {
MainModule.Common.wsFindAddress._staticInstance.set_path(value); }
MainModule.Common.wsFindAddress.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MainModule.Common.wsFindAddress._staticInstance.get_path();}
MainModule.Common.wsFindAddress.set_timeout = function(value) {
MainModule.Common.wsFindAddress._staticInstance.set_timeout(value); }
MainModule.Common.wsFindAddress.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MainModule.Common.wsFindAddress._staticInstance.get_timeout(); }
MainModule.Common.wsFindAddress.set_defaultUserContext = function(value) { 
MainModule.Common.wsFindAddress._staticInstance.set_defaultUserContext(value); }
MainModule.Common.wsFindAddress.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MainModule.Common.wsFindAddress._staticInstance.get_defaultUserContext(); }
MainModule.Common.wsFindAddress.set_defaultSucceededCallback = function(value) { 
 MainModule.Common.wsFindAddress._staticInstance.set_defaultSucceededCallback(value); }
MainModule.Common.wsFindAddress.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MainModule.Common.wsFindAddress._staticInstance.get_defaultSucceededCallback(); }
MainModule.Common.wsFindAddress.set_defaultFailedCallback = function(value) { 
MainModule.Common.wsFindAddress._staticInstance.set_defaultFailedCallback(value); }
MainModule.Common.wsFindAddress.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MainModule.Common.wsFindAddress._staticInstance.get_defaultFailedCallback(); }
MainModule.Common.wsFindAddress.set_path("/Common/wsFindAddress.asmx");
MainModule.Common.wsFindAddress.GetAddress= function(pPostcode,onSuccess,onFailed,userContext) {
/// <param name="pPostcode" type="String">System.String</param>
/// <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>
MainModule.Common.wsFindAddress._staticInstance.GetAddress(pPostcode,onSuccess,onFailed,userContext); }

