1 Reply Latest reply: Oct 12, 2012 3:11 AM by 852205 RSS

    Plumtree.Remote.Portlet.NotGatewayedException: Request not gatewayed

    852205
      Hi,

      Iam getting a error like "Plumtree.Remote.Portlet.NotGatewayedException: Request not gatewayed" when iam trying to remotely connect to Oracle web services from .Net code.

      In the below code when the pointer comes to execute "PortletContextFactory.CreatePortletContext" then system is throwing a exception like "Plumtree.Remote.Portlet.NotGatewayedException: Request not gatewayed".

      Please help.
      protected void Page_Load(object sender, EventArgs e)
                {
      IPortletContext m_context;
                     m_context = PortletContextFactory.CreatePortletContext(Request, Response);
      if (m_context.GetRequest().GetSettingValue(SettingType.Session, "searchTerm") != null)
      {
      sSessionVal = m_context.GetRequest().GetSettingValue(SettingType.Session, "searchTerm");
      }
      sPagePath = this.Request.Url.LocalPath;
                     if (this.Request.QueryString["search"] != null)
                     {
      m_context.GetResponse().SetSettingValue(SettingType.Session, "searchTerm", this.Request.QueryString["search"].ToString());
      sSessionVal = String.Empty;

      pnlRedirect.Visible = true;
                          pnlForm.Visible = false;
                     }
                     if (System.Configuration.ConfigurationSettings.AppSettings["AllowBorders"] != null)
                     {
                          if (Convert.ToBoolean(System.Configuration.ConfigurationSettings.AppSettings["AllowBorders"]) == false)
                          {
                               pnlNoBorder.Visible = true;
                          }
                     }
                }