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