Type.registerNamespace('ShoppingMap.WebApp');
ShoppingMap.WebApp.AjaxWebservice=function() {
ShoppingMap.WebApp.AjaxWebservice.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ShoppingMap.WebApp.AjaxWebservice.prototype={
GetSearchResults:function(query,page,succeededCallback, failedCallback, userContext) {
return this._invoke(ShoppingMap.WebApp.AjaxWebservice.get_path(), 'GetSearchResults',false,{query:query,page:page},succeededCallback,failedCallback,userContext); }}
ShoppingMap.WebApp.AjaxWebservice.registerClass('ShoppingMap.WebApp.AjaxWebservice',Sys.Net.WebServiceProxy);
ShoppingMap.WebApp.AjaxWebservice._staticInstance = new ShoppingMap.WebApp.AjaxWebservice();
ShoppingMap.WebApp.AjaxWebservice.set_path = function(value) { ShoppingMap.WebApp.AjaxWebservice._staticInstance._path = value; }
ShoppingMap.WebApp.AjaxWebservice.get_path = function() { return ShoppingMap.WebApp.AjaxWebservice._staticInstance._path; }
ShoppingMap.WebApp.AjaxWebservice.set_timeout = function(value) { ShoppingMap.WebApp.AjaxWebservice._staticInstance._timeout = value; }
ShoppingMap.WebApp.AjaxWebservice.get_timeout = function() { return ShoppingMap.WebApp.AjaxWebservice._staticInstance._timeout; }
ShoppingMap.WebApp.AjaxWebservice.set_defaultUserContext = function(value) { ShoppingMap.WebApp.AjaxWebservice._staticInstance._userContext = value; }
ShoppingMap.WebApp.AjaxWebservice.get_defaultUserContext = function() { return ShoppingMap.WebApp.AjaxWebservice._staticInstance._userContext; }
ShoppingMap.WebApp.AjaxWebservice.set_defaultSucceededCallback = function(value) { ShoppingMap.WebApp.AjaxWebservice._staticInstance._succeeded = value; }
ShoppingMap.WebApp.AjaxWebservice.get_defaultSucceededCallback = function() { return ShoppingMap.WebApp.AjaxWebservice._staticInstance._succeeded; }
ShoppingMap.WebApp.AjaxWebservice.set_defaultFailedCallback = function(value) { ShoppingMap.WebApp.AjaxWebservice._staticInstance._failed = value; }
ShoppingMap.WebApp.AjaxWebservice.get_defaultFailedCallback = function() { return ShoppingMap.WebApp.AjaxWebservice._staticInstance._failed; }
ShoppingMap.WebApp.AjaxWebservice.set_path("/opensourceprojects/shoppingmap/AjaxWebservice.asmx");
ShoppingMap.WebApp.AjaxWebservice.GetSearchResults= function(query,page,onSuccess,onFailed,userContext) {ShoppingMap.WebApp.AjaxWebservice._staticInstance.GetSearchResults(query,page,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('ShoppingMap.Definitions.Objects.Response.Search');
if (typeof(ShoppingMap.Definitions.Objects.Response.Search.AmazonSearchResponse) === 'undefined') {
ShoppingMap.Definitions.Objects.Response.Search.AmazonSearchResponse=gtc("ShoppingMap.Definitions.Objects.Response.Search.AmazonSearchResponse");
ShoppingMap.Definitions.Objects.Response.Search.AmazonSearchResponse.registerClass('ShoppingMap.Definitions.Objects.Response.Search.AmazonSearchResponse');
}
