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