URGENT!!! inlineRendering of URL-Based Portlet problem !!!

Hi there;
About one month ago I faced a problem which one of the other member has faced it too. He posted the problem and till now nobody has answered it. Any clue in this following regards?
I have deployed a simple url-based portlet on Oracle9iAS portal by using PDK 2.0
problem occures when i want to use inlineRendering feature of PDK 2.0, it just poped-up a new windows with wrong url
Regards,

Have you tried the WebClipping portlet?
Its definitely worth taking a look at it.

Similar Messages

  • URL based portlet from external application

    Hello,
    I'm trying to integrate a forms 6i patch 10 application into SSO.
    First, I created an external application, passing it the correct parameters.
    Everything went ok, and I can successfully call it by entering
    "Administer Enternal Application" link on Oracle Portal.
    Now I want to make a portlet from this external application. For that I'm
    using PDK URL Services. So I reused the urlexternalauth provider which is
    included in the latest PDK. The provider.xml is included below. I successfully
    registered the provider, by following the wizard "Register Portlet Provider" on
    Oracle Portal. But when I call the portlet, the html startup file for the form
    is base.htm. When I call the external application through the "Administer Enternal Application" link,
    I get the right html startup file, which is basejini.htm.
    So I need basejini.htm called from the portlet, and not base.htm.
    Thanks,
    Andri.
    provider.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
         <providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
         <session>true</session>
         <authentication class="oracle.portal.provider.v2.security.Authentication">
              <authType>ExternalApp</authType>
              <userFieldName>username</userFieldName>
              <userPwdName>password</userPwdName>
              <errorPageMessages>Error Message!</errorPageMessages>
         </authentication>
         <proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
              <httpProxyHost>proxy.br.odebrecht.com</httpProxyHost>
              <httpProxyPort>8080</httpProxyPort>
         </proxyInfo>
    <portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
    <id>1</id>
    <name>iCorporate</name>
    <title>iCorporate</title>
    <description>iCorporate - aplicacao Forms6i</description>
    <timeout>100</timeout>
    <timeoutMessage>iCorporate time out</timeoutMessage>
    <acceptContentType>text/html</acceptContentType>
    <showEdit>false</showEdit>
    <showEditToPublic>false</showEditToPublic>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <passAllUrlParams>true</passAllUrlParams>
    <inputParameter class="oracle.portal.provider.v2.URLPortletParameter">
    <name>config</name>
    <displayName>config</displayName>
    <value>icorp</value>
    <isMandatory>true</isMandatory>
    </inputParameter>
    <inputParameter class="oracle.portal.provider.v2.URLPortletParameter">
    <name>database</name>
    <displayName>database</displayName>
    <value>server1</value>
    <isMandatory>true</isMandatory>
    </inputParameter>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
    <contentType>text/html</contentType>
    <pageUrl>http://server1.rjo.br.odebrecht.com:7780/servlet/f60servlet</pageUrl>
    </showPage>
    </renderer>
    <securityManager class="oracle.portal.provider.v2.security.URLSecurityManager">
    <authorizType>public</authorizType>
    </securityManager>
    </portlet>
    </provider>

    Andrea,
    Could you tell me if FORMS 6i authentication process is based on cookies? The reason being, URL based portlets SSO feature is primarily driven by External Application's cookies, which act as authentication tokens. Once a valid user information is submitted to the External Application, cookies (if any) are received and stored so that they can be re-used in further connections. A typical flow of events can be summarized as follows :
    At provider level :
    1. Connect to External Application.
    2. Submit user information to url specified by External Application's login URL.
    3. Fetch cookies
    4. Store them for future use.
    At portlet level :
    1. Read cookies fetched through provider, pertaining to this portlet.
    2. Open connection to url specified by <pageUrl> tag in provider.xml
    3. Read content and display in the portlet.
    From the provider.xml, I can see that we are trying to show content given by http://venezuela.rjo.br.odebrecht.com:7780/servlet/f60servlet servlet, which has two parameters called {config and database}. This makes the resulting URL as http://venezuela.rjo.br.odebrecht.com:7780/servlet/f60servlet?config=icorp&database=venezula. I guess when this URL is accessed directly, FORMS servlet will redirect the user to base.htm file. Important point to note here is that when URL based portlet makes connection to the above URL, user information is not directly sent along with the request. Instead, cookies fetched from External Application, if any, are sent. But when the same application is viewed through portal's External Application, user information is directly submitted to the login URL. So, before deciding on something, it is important to know how different is the loginURL specified through portal's External Application details, from <pageUrl> of URL based portlets?
    -aMJAD.

  • Please instruct how to display Chinese in URL-based portlet

    Hi, I have installed Chinese support opca for my oracle portal and I tried to display Java Chinese portlet successfully.
    I've been testing the url-service now, and I can see the url sample portlets successfully too. However, when I try to display a website including chinese character (e.g.www.yahoo.com.tw, all characters are shown improperly. What else should I do or install?
    P.S. I am using PDK January version.
    Thanks for your help and replies!

    Hi,
    I got it by modifying the provider.xml file with the tag of:
    <charSet>BIG5</charSet>
    for the portlet displaying the website with Chinese Character. For detail, you may refer the the article 'PDK-JAVA XML Provider Definition Tag Reference v2 [HTML format] under the pdk\article directory.
    Thanks for your attention!

  • Multi URL-Based Portlet with Single Sign-On?

    It seems I can get past part of my previously mentioned problem by using the method in the link below for 'basic authentication'.
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/HOW.TO.BUILD.URLBASED.PORTLET.WITH.SSO.TO.BASIC.AUTH.HTML
    There they specify this link.
    http://host.domain:port/servlet/metalink
    Now if I should have
    http://host.domain:port/servlet/metalink/pageA
    http://host.domain:port/servlet/metalink/pageB
    http://host.domain:port/servlet/metalink/pageC
    It wouldn't be nice to have to add all of them.
    Any ideas?
    I should give it a rest. I'm tirD. bye.

    Hi,
    The pageURL under the showPage needs to point to the final destination URL that you need to render. The loginURL under authentication needs to point to the login page where you will submit the user/passwd.
    You can view a step-by-step demo on the PDK from:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDKGENERAL/PDKHOME/PDKDEMOS2/DEMOSOURCE/PDKURL/FINANCEAUTHPORTLET/YAHOOFINANCEAUTHDEMO_VIEWLET.HTML
    and other demos too from:
    http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO&9054_PDKHOME_39847486.p_subid=176584&9054_PDKHOME_39847486.p_sub_siteid=73&9054_PDKHOME_39847486.p_edit=0#PDKURLDEMO

  • How to build URL-based Portal for iAS 902

    Does V2 PDK support URL-based portlet? Can anyone provide a sample provider.xml?
    Thanks,
    -Jin

    Aftter subscription, I could view the doc for V2. I modified my provider.xml accordingly as follows:
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <?providerDefinition version="3.1"?>
    <!DOCTYPE provider [
    <!ENTITY virtualRoot "/jpdk/">
    <!ENTITY physicalRoot "E:\9iAS\Apache\Apache\htdocs\jpdk\">
    ]>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
    <providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
    <session>true</session>
    <useOldStyleHeaders>false</useOldStyleHeaders>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>7</id>
    <name>jimmy2</name>
    <title>jimmy2</title>
    <descriptionKey>jimmy2</descriptionKey>
    <timeout>1000</timeout>
    <timeoutMessage>Timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <contentType>text/html</contentType>
    <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
    <pageUrl>http://www.google.com</pageUrl>
    </showPage>
    </renderer>
    </portlet>
    </provider>
    I didn't get any error registering the provider and adding the portlet. But when portlet was rendered, I got error:
    Error: The listener returned the following Message: 500 Internal Server Error
    Any ideas?
    Thanks,
    -Jin

  • URL based Iview creation problem

    Hello,
    We use EP6 SP9.
    I am trying to build a url based iview with "capture" option.
    When I enter the url address and hit "capture" I get the following error:
    Unable to fetch site http://portal.Error # 401
    Thanks for any help

    Hi Tuval,
    Yes I remember you from the Toptier days, hope life is treating you well.
    Actually the Proxy settings could still be a problem for internal urls if infact you still have a proxy on your network. You would need to specify the bypass proxy domain settings in the http service just like you do in your browser.  Except you use | as a delimeter eg.  .sap.com|.sap.corp.
    As I suggested you should still check that server side urls are working either internally or externally by typing a url into the 'server side connection test' in the Theme integrity tests page.
    If this test passes and you cannot capture then its a capture problem either domain related or something else eg a timeout.
    If this test fails then the capture will not work until server side requests can succeed.
    Also, the capture service has some parameters as well but I have never changed the defaults.

  • Struts and JSF Integration in OPDk-java based portlet

    Hi,
    thanks in advance for your help.
    I'm developing a PDK java based portlet. For some reasons I cannot use the JSF bridge but I would like to integrate Struts and Jsf in my portlet, using Struts to manage actions and navigation and JSF (with ADF Faces components) for the view. I'm using the Strus-Faces library.
    When I try to submit my portlet form, I receive the error "request URL not found on this server". I'm posting some exstracts of my code.
    It's made of three pages: the main one "Integration1ShowPage", "error" and "result". The MainAction.java displays my mainPage, where there's a form. To keep it easy, when the user submits this form, the ActionName returns "success" and the "result" page should be displayed.
    The MainAction works properly: the portlet is displayed but when I tried to submit the form I receive
    The requested URL /provaDeploy/htdocs/integration1/integration1ShowPage.do was not found on this server.Could you please suggest me something?
    Many many thanks,
    B.
    <struts-config>
    <action-mappings>
      <action path = "/mainAction" type = "strutsjsfintegration1.MainAction">
        <forward name = "success" path = "/faces/htdocs/integration1/integration1ShowPage.faces"/>
      </action>
      <action path = "/nameAction" name = "nameForm"
      input = "/faces/htdocs/integration1/integration1ShowPage.faces" scope = "request"
      type = "strutsjsfintegration1.NameAction">
        <forward name = "success" path = "/faces/htdocs/integration1/result.faces"/>
        <forward name = "failure" path = "/faces/htdocs/integration1/error.faces"/>
        <forward name = "again" path = "faces/htdocs/integration1/integration1ShowPage.faces"/>
      </action>
    </action-mappings>
    <controller>
      <set-property property = "processorClass"
       value="org.apache.struts.faces.application.FacesRequestProcessor"/>
       </controller>
    <message-resources parameter="definitiveStrutsPortlet.ApplicationResources"/>
    </struts-config>

    Hi,
    have a look at this whitepaper for how to use JavaScript in ADF.
    http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf
    This link here (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html --> see sample 71) shows an integration sample between a Java Applet and ADF. Its a similar use case to yours
    Frank

  • Launch url based on variable

    ok, this seems like it should be easy but im having problems,
    using Flash CS3 and AS 2.
    i have a variable named county, and variable named printUrl.
    when you push a county button it shows "the County" in the
    county field. what i want to do is have a button to load the url
    based on the county in a new window.
    frame one i have: printUrl = "mi/" +county+".html" ;
    on the button i have : getURL(printUrl, "_blank", "");
    it doesnt work, any help?
    zodoria

    ok, this seems like it should be easy but im having problems,
    using Flash CS3 and AS 2.
    i have a variable named county, and variable named printUrl.
    when you push a county button it shows "the County" in the
    county field. what i want to do is have a button to load the url
    based on the county in a new window.
    frame one i have: printUrl = "mi/" +county+".html" ;
    on the button i have : getURL(printUrl, "_blank", "");
    it doesnt work, any help?
    zodoria

  • URL Based Transaction Launcher not loading

    Hi All,
    There is a URL based transaction launcher configured to display a crm opportunity report.
    All the settings seem to be fine.
    The configuration is done correctly in the wizard.
    The URL is defined in view CRMV_IC_LTX_URL.
    The logical link and Traget are also specified correctly.
    the z handler class also gets called , but still the URL is not loading.
    There is no error, but just a blank screen.
    the system is CRM 5.2
    could it be any browser issues or issue with BW system or any other issue ?
    Could you please help me in finding the problem ?
    thank you somuch,
    regards,
    Pushpa

    Hello,
    If you are watching this thread, I have a typical requiremnt like yours.
    After creating the ITS URL id  , I do not want to put this on the Navigation Bar.
    But this lTS URL i want it as a link on one of the actiivty page. And also i should be able to pass parameter.
    Please sugget what and how to achieve this.
    Thanks,
    Jaya.

  • Accessing ADF model within Struts based portlet

    Hi,
    I cannot seem to access and initialise the model from within a Struts based portlet.
    Has anyone been able to get this right, and if so, would you mind sharing it with me.
    I suspect it has something to do with the attributes that are being stored in the oc4j session not being visible in the portal session.
    Tnanks

    Hi,
    Not too worry, I sorted the problem out by adding code to access the servlet session in the struts renderer.

  • Provide Webservice  link not generating corresponding WSDL URL based on the service operation.

    Hi All,
    The provide webservice link is not generating corresponding WSDL URL based on Service Operation.
    E.g. Currently we have two service operations namely Create and Update. We are using Rowset based messaging. Provide Webservice link generated correct WSDL URL for the create operation but it is providing the same URL for Update operation as well. kindly share your knowledge if you guys ever faced similar problem.
    Regards
    Viswa

    Hi Hakan,
    Thanks for your reply. Actually i am trying to generate WSDL URLs for each service operation for Travel & Expense module like create expense, update expense etc.
    URL generated looks like this : http://xxx.xx.xxx.xx:8011/PSIGW/PeopleSoftServiceListeningConnector/HX_TE_EXPENSE_CLAIM.16.wsdl - this url is meant for CREATE operation. But for the UPDATE operation i am getting the same URL . Normally, Whenever i create WSDL URL for different operation the numeric part of the above URL changes like 16, 17 etc ..based on the service operation but no two operation have same URL like i am getting now. Please provide your knowledge on this issue.
    Regards
    Viswa

  • How get browser URL from portlet JSR-168?

    I use Oracle Portal. And I have problem.
    How get browser URL from portlet JSR-168?

    Normaly it is
    http://server:port/portletContextRoot
    Did you create the portlet with JDeveloper? When you dpeloy the portlet to your application server, JDeveloper should output the URL of the portlet test page in the deployment output feedback.

  • How to Set URL-Based Session Tracking to No

    Dear BSP Gurus
    I am fairly new to BSP applications, but I am getting an error which goes "BSP exception: Access to URL /sap(bD1lbiZjPTEwMCZkPW1pbg==)/bc/bsp/sap/crm_ui_frame/ is forbidden" and notice some say they solved it by Setting URL-Based Session Tracking to No, so my question is how do I do that.
    Unless off course there is another way to solve my problem. Would greatly appreciate it.
    Awaiting your favorable response

    Hey Raja and Rajani
    I actually activated all the applications below SAP->BC->->SAP-> **(Application)*->  but still I am getting that error.
    When I then test the individual applications I get errors like
    "BSP Exception: Das Objekt default.htm in der URL /sap/bc/bsp/sap/bp_cont_main/default.htm?sap-client=100&sap-sessioncmd=open ist nicht gültig"
    I really have run out if ideas, I need your assistance, initially I thought it cd be the logical link coz the work centres appear fine then I tried to assign even standard business roles, its giving the same error.
    What do I do now?

  • How to get SSO userid to URL-based app?

    I'm developing a web-app using Struts that will be accessed by Portal (I guess as a URL-based app). The web-app will not require login. The web-app will not be Portal "aware", except that it requires the SSO userid for auditing/logging purposes.
    I know little about Portal and SSO. How can Portal be configured to send the Portal userid of the logged-in Portal user? Can it send it as a parameter in a GET or POST?
    The version of Portal will be 9.0.2 (or greater).

    This topic is answered in the PDK forum here:
    How to get SSO userid to URL-based app?

  • Urgent, Please help me in this problem.I am getting problem while installation

    I am using Windows 8 in my system. I am trying to install Sql Server in system . Everything is fine, but finally  when i click on install button i am getting the following error .
    please help me quickly. I well be thankful to you.

    Triple post meanwhile:
    http://social.msdn.microsoft.com/Forums/en-US/7fafa499-ca1e-42f7-a117-73df924d9847/urgent-please-help-me-in-this-problemi-am-getting-problem-while-installation?forum=sqlsetupandupgrade
    http://social.msdn.microsoft.com/Forums/en-US/a1c7978c-2f84-495f-a8b6-9e9fe46654d7/getting-problem-while-installing-sql-server-2012?forum=sqlsetupandupgrade
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for