Creating an External Application as a portlet

I created an External application provider and added it to a portlet in my portal page. This was done successfully, displaying a link to my external application and did the mapping at the first time with the SSO user.
What I need to know is whether my external application can be implemented as a portlet itself (not a link) or not.
If anyone has an idea, please share.
Thank you

Ayman,
The easiest way to integrate External Applications as a Portlet (ie displayed in situ) is by using the URL service Portlet. This also has the option of "In-Line" rendering which will allow any deep-links to be routed back through the URL service provider. (means that as you drill into the application it stays in the portlet rather than opening a new window). See the documentation on the URL services function in the PDK section of http://portalcenter.oracle.com

Similar Messages

  • How can i get the id of the external application in my portlet??

    How can i get the id of the external application in my portlet??

    Hi Alf,
    I am not sure that you can get that information from within JPDK.
    thanks,
    Harsha

  • No External Applications visible in Portlet

    I have just upgrade from Oracle Portal 3.0.9 to 3.0.9.8.1 (Patch applied to loginserver and portal schema) and the External Applications that were set up have gone from the portlet.
    If I go to the "Login Server Administration" portlet and select the link "Administer External Applications" I get a list of 5 External Applications that have previously been set up.
    If I go back to the Home Page and select "customize" on the "External Applications" portlet I get the message "Your Login Server administrator has not registered any external applications".
    Any ideas why the External Applications portlet cannot see them any more ?
    Thanks
    Simon

    Hello Balakrishnan and Sharmila,
    First of all I want to say thank you for trying to help me.
    Sharmila, I did exactly what you suggest but it still doesn4t working, I can4t see
    the reports in my portlet repository ... I saw many question as mine in this forum
    but all of then aren't completely solved. (After I click "OK" in customization form display
    options tab, I remembered to do the "Refresh Portlet Repository").
    Balakrishnan, I did what you suggest too, the copy was fine, the roport was copy
    from one provider to another, but even doing this the report doesn't appear
    in the new provider on the portlet repository(I remembered to do the "Refresh Portlet Repository").
    Note that my reports are already working inside portal (using "Run as Portlet")
    in the "Develop" tab of my component ...
    and just the reports I couldn't see, the forms that I did are there in the portlet repository !
    Even the reports that came with the portal providers, like the ones in PEOPLE_APP provider
    from PORTAL_DEMO owner doesn't appear in my portlet repository.
    So .... if you have more suggests I4ll appreciate a lot !
    Best regards,
    Renato

  • Fail to create External Application for Lotus Notes portlet (diiop_ior.txt)

    I've downloaded the PDK-January today and I'm trying the Lotus Notes Portlet. I have been following the document located in the PDK directory pdk\pdk\solutions\lotusnotes\installation.html.
    I encountered problem when I trying the section Publishing the Lotus Notes Portlets - Creating the External Application -> at the last 2 steps.
    At first I think it's my fault until I keep finding other posts and monitoring the console log for my standalone OC4J server.
    java.io.FileNotFoundException: http://dominalWebMailip:80/diiop_ior.txt
    java.io.InputStream sun.net.www.protocol.http.HttpURLConnection.getInput
    Stream()
    HttpURLConnection.java:560
    java.io.InputStream java.net.URL.openStream()
    URL.java:798
    java.lang.String lotus.domino.NotesFactory.getIOR(java.lang.String)
    NotesFactory.java:314
    lotus.domino.Session lotus.domino.NotesFactory.createSession(java.lang.S
    tring, java.lang.String, java.lang.String)
    NotesFactory.java:65
    boolean oracle.portal.integration.lotusnotes.application.ApplicationLogi
    n.authenticateUser(java.lang.String, java.lang.String, java.lang.String, java.la
    ng.String, java.lang.String)
    void oracle.p[i]Long postings are being truncated to ~1 kB at this time.

    (Continued)
    void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.Servlet
    Request, javax.servlet.ServletResponse, javax.servlet.FilterChain)
    JAZNFilter.java:283
    void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.serv
    let.ServletRequest, javax.servlet.ServletResponse)
    ServletRequestDispatcher.java:560
    void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(j
    avax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
    ServletRequestDispatcher.java:306
    boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.e
    vermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpSer
    vletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.Input
    Stream, java.io.OutputStream, boolean)
    HttpRequestHandler.java:767
    void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
    Thanks for any help and replies!

  • 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.

  • Getting error while running external application

    Hi Everyone,
    I am using JDeveloper 11.1.1.4. I am trying to run an external application for accessing ZOHO Mail. For this first i created an external application with the details of Login url, Username & Password. Then I embeded this external application to jsf. While running this file i am getting message like " user anonymous not authorized to access external application ZohoMail " in browser. Did i do wrong anything ? ? Please provide information regarding this issue.
    Thanks in advance.
    Regards,
    SEWSupport

    Hi,
    I created a web application and right click on the project --> new --> General --> ExternalApplications --> ExternalApplication.
    In the ExternalApplication registration I declared application name then in step2 I entered LoginURL as http://mail.zoho.com/biz/index.do, Username as LOGIN-ID and Password as PASSWORD. Then i clicked on next --> next --> Finish.
    After that i created one jsf page and drag and drop that external application into jsf.
    Then run that jsf file, While running the error message is getting in browser.
    Thanks,
    SEWSupport

  • How to deep link to  several pages of an external application ?

    HI,
    I created an external application named MyApp with UserName and Password fields using the External Application component.
    and an additional field as Parameter1 with value SearchPage
    I am able create a url referencing the applicatoin such as
    /adfextapplogin?extappid=MyApp
    I can connect to the application directly, once I provide the username and password.
    I need to create deep linking to few more pages in the same application.
    I modified the external application definition, by removing the Parameter field.
    Created a URL such as
    /adfextapplogin?extappid=MyApp&Parameter1=SearchPage
    I was expecting that the URL would behave the same way as I created in my first step, But the application did not go to the search page
    instead it went to the landing page only.
    Is there a way to define one external application definition, and use that definition to create multiple urls pointing to different destination pages ?
    I appreciate your help.
    Thanks
    Sam

    Thanks for the info. I reviewed the link, I could not find the information I am looking for. Is it possible that, there is a typo .
    Can you please check and provide the correct url, if the url is correct, can you point me to the correct section in the doc, I could not locate information related
    to using external appliation connections for additional access

  • Base Tables that store external application information

    I have created several external applications. I would like to know where are these applications stored ie. in which tables under what user . I want to get the corresponding external application id to the external application name , so that I can pass it to one of my functions to launch the external application.

    I think you want wwsso_application_info_t and
    wwsso_appuser_info_t owned by portal30_sso
    null

  • Single Sign-On and External Applications Portlet

    I would like to know how complicated would be to call an External Application with SSO (like Hotmail), outside the External Applications Portlet.
    We have defined around 10 external applications with SSO,they worked fine.
    but due to look&feel issues, we would like to put them in a content area , like items that when the user clicks, takes them to the external application and performs the single sign-on.
    Any advice will be appreciated.
    tks!!

    Maria, I was experimenting with this last night, to answer your question, and I think a cool way of doing this would be the following:
    Create a custom attribute called "App ID" - make this a NUMBER type. This is where the external application id will be stored.
    Create a custom item type: "External Application"
    You have two options for the base type: either "URL" or "<None>". If you pick URL, then you can have the item contain the URL for fapp_process_login, but this is not advisable because it will require the administrator to type in this long URL every time a new application is added.
    If you select base type URL, you should use that URL to let the administrator provide a URL to the application's homepage, or a help page or something of that sort.
    Edit the newly created item to set the Attribute and Procedure properties.
    Add the "App ID" attribute - no default.
    On the Procedure tab, add the following procedures (called as HTTP), each with the App ID passed as "p_app_id":
    Login http://server.domain.com/pls/portal30_sso/portal30_sso.wwsso_app_admin.fapp_process_login
    Edit http://server.domain.com/pls/portal30_sso/portal30_sso.wwsso_app_admin.edit_fappuser
    That's it!
    Add the new custom item type to a folder, and all the administrator needs to do is set the title, and App ID for the new item.
    Excercise for the Reader
    You will notice that clicking on the Edit link will take you to the login server when you are done editing the credentials. To avoid this, pass another parameter to the edit procedure - p_done_url, and set a value for that to point to the page that you want to go to after editing credentials.

  • How can I create a shortcut to launch an external application?

    Hello, I'm developing app in Swing where I want to create a shortcut for any external application, I'm able to get the .exe path, and an icon path (in .png format), is there a way to create a "shortcut" or button and assign the icon and the .exe path to run it? This is what I have to get the .exe path:
    Process p = Runtime.getRuntime().exec("\"" + jTextField2.getText() + "\"");
    Where jTextField takes the value from a JFileChooser value, doing the same for the icon, then I could do this for a button to assign the icon:
    ImageIcon img1 = new ImageIcon("C:\\image.png");
    jButton7.setSize(64, 64);
    jButton7.setIcon(img1);
    But I havent' found any way to make the button (or any kind of shortcut) to execute the program, I could go and create a method to do it on click or ActionPerformed, but the idea is to do all this when I finish the create the shortcut, I hope you can understand me, I'm kinda confused, so far, I can launch the app but I want to create a new button/shortcut everytime I need to add an external app, thanks in advanced!!!

    user3538005 wrote:
    Hello, I'm developing app in Swing where I want to create a shortcut for any external application,.. For what end purpose? If it is to show documents in the default consumer for that document type (e.g. a .doc might be MS Word), then look to the <tt>java.awt.Desktop</tt> class.
    ..I'm able to get the .exe path, and an icon path (in .png format), is there a way to create a "shortcut" or button and assign the icon and the .exe path to run it? This is what I have to get the .exe path:You do realize that is disgustingly Windows specific, right? What about users of Mac and *nix?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to use external application, webclipping portlet in webcenter ?

    I'm just following this [http://biemond.blogspot.com/2008/01/external-application-in-webcenter-11g.html|http://biemond.blogspot.com/2008/01/external-application-in-webcenter-11g.html]
    to integrate an application into webcenter application as a external application. But I can't get the login work, always get the "User authentication failed".
    I'm using JDeveloper 11.1.1.2.0 and Webcenter 11.1.1.2.0.

    You can view a demo-
    How to Build a Portlet from an existing authentication web application
    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
    There are PDK articles that explain how to builld ASP portlets and how to set up a URL based portlet for external authentication:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/build.asp.portlet.url.services.html
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/how.to.build.urlbased.portlet.with.SSO.to.external.app.html
    There is also an ASP sample under the PDK-URL services samples.
    Please use these to build your application.
    Thanks,
    Mohana

  • Error in External application portlet

    I receive this message when I try to configure the external application portlet:
    Error: Error interno (WWC-00006)
    Se ha encontrado un error inesperado en wwptl_fapp.show_edit_list (ORA-29273: fallo de la solicitud HTTP
    ORA-06512: en "SYS.UTL_HTTP", línea 1674
    ORA-12535: TNS:timeout de la operación) (WWC-41417)
    Fallo del sistema al recuperar la solicitud HTTP necesaria hecha al Servidor SSO para validar este usuario. (WWC-41447)
    And I cannot continue..
    Some clue?

    429545, as I said in another thread, it is probably better to post portal specific questions to one of the many portal forums that can be found at
      http://forums.oracle.com/forums/index.jsp?cat=13

  • EEO information in Create External Application -- E-Recuitment

    My customer want to include EEO questionnaire in the Create External Application service. How is the EEO data saved, in which infotype or table. WIll the EEO information that is entered , can it be tracked in EEO reporting?
    I would also like to know, how other customers use this service to collect EEO information. My customer are not willing for an activity.

    Hi Victor,
    Request Questionnaire and Request EEO Questionnaire are standard activity types, but if you dont want to create seperate activity types, you can create a questionnnaire  and addign it to directly to the requisition or add it to the process template which will then be available for any applicant in the application wizard when trying to apply against the job posting.
    Please refer to the below help link.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/d7/9adef31c74f54b8969643ac2325a68/frameset.htm
    Best Regards
    G Raj

  • SSO for External application not part of the portal framework

    Greetings,
    I am desperate!!!
    I am trying to do the following:
    I have a pl/sql application that presents to the user a set of external applications links.When the user activates a link, I would like to make a call the SSO server so it can do external application login.
    I know I can configure the external applications as described in the SSO admin guide.
    Unfortunately the API to query the SSO server for external application mapping is not public.
    ANY IDEAS ON WHERE I CAN GET THIS INFO??
    Every thing I have read says that external applications can be accessed through Portal. This is not my case. I can use any packages or classes available by the SSO server to portal, but MY APPLICATION IS NOT A PORTAL.

    I have similar kind of requirements for Single sign-on to external web applications.
    But in my applications I have to auto-generate random userid & password for different external web applications.
    These uids & password are exported to external applications, which upon recieving creates user in their applications.
    So, actual user will never have access to these credentials(uid &pwd).
    So, how can I cutomize the Portlets to do the first time SSO when user is created & their credentials to external apps are stored to OID.
    Any idea Barry..
    Bye

  • How do you harness URL external application in a JSP?

    I have successfully deployed the Yahoo Finance sample URL External Application. However, I do not understand how to utilize the URL classes (in the pdkjava.jar) to harness the external application information once a user has authenticated. I am building a JSP portlet that displays and applet, however the applet requires a username and password. I need to get the Username and Password from external application, which it gets from the user via External Application. How do I get these values in my JSP (that is defined in my provider.xml)? I keep seeing documentation regarding the ExternalPrincipal object however I don't understand how to utilize this object in my JSP. I beleive the ExternalPrincipal object is what I need in my JSP, seeing that it has the methods for getting the user and password. Unless is there a better way of achieving this, can anyone shed some light on getting the ExternalPrincipal object for an External Application session?
    Thanks,
    Laith E.H.

    Thanks for the example. I have a better understanding now, however I'm still having trying to comprehend the flow of executing in this portal model.
    I have a problem with:
    PortletRenderRequest pr = (PortletRenderRequest) request.getAttribute("oracle.portal.PortletRenderRequest");
    ProviderUser prUser = pr.getUser();
    ProviderSession pSession = prUser.getSession(true);
    I get a NullPointerException on the second line when trying to getUser(). I'm not sure where the problem could be. In the provider.xml, my ExternalProviderInstance, or the JSP itself? I have another JSP portlet on the same page that calls the same method with success.
    Thanks,
    Laith E.H.
    provider.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
         <providerInstanceClass>com.cox.portal.provider.ExternalProviderInstance</providerInstanceClass>
         <session>true</session>
         <authentication class="oracle.portal.provider.v2.security.Authentication">
              <authType>ExternalApp</authType>
              <userFieldName>Username</userFieldName>
              <userPwdName>Password</userPwdName>
              <errorPageMessages>Invalid ID,Invalid Password</errorPageMessages>
         </authentication>
         <portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
         <id>1</id>
         <name>ExternalAnalyzer</name>
         <title>Main Analyzer</title>
         <description>This portlet logs into analyzer</description>
         <timeout>100</timeout>
         <timeoutMessage>analyzer 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>
              <registrationPortlet>false</registrationPortlet>
              <accessControl>registered</accessControl>
              <renderer class="oracle.portal.provider.v2.render.RenderManager">
                   <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
                        <pageUrl>http://catl0dv31.corp.cox.com/bic/analyzerIFrame.jsp?ap_doc=analyzer&amp;ap_id=105</pageUrl>
                        <contentType>text/html</contentType>
                   </showPage>
              </renderer>
              <securityManager class="oracle.portal.provider.v2.security.URLSecurityManager">
                   <authorizType>registered</authorizType>
              </securityManager>
         </portlet>
    </provider>
    ExternalProviderInstance:
    package com.cox.portal.provider;
    import oracle.portal.provider.v2.*;
    import oracle.portal.provider.v2.http.*;
    import oracle.portal.provider.v2.externalApp.*;
    public class ExternalProviderInstance extends URLProviderInstance
    public static final String EXTERNAL_APP = "externalapp.object.key";
    ProviderSession pSession = null;
    public Object[] initSession(ProviderUser user, ExternalPrincipal externalApp)
    throws ProviderException {
    //UrlServicesUtils.logMessage("BasicURLProvider : Entering initSession.", getDebugLevel());
    //Create/Retrieve provider user session.
    if (mProviderDefinition.getHasSession()) {
    // Create the session if it doesn't already exist.
    pSession = user.getSession(true);
    // Store external app in provider session so that other modules
    // can extract it later.
    if (pSession != null) {
    pSession.setAttribute(EXTERNAL_APP, externalApp);
    // Get javax.servlet.http.Cookie[] from user
    javax.servlet.http.Cookie[] cookies = ((ServletProviderUser)user).getCookies();
    if(cookies != null)
    return cookies;
    else
    return null;

Maybe you are looking for