Accessing a portlet from Non-portal Application

Hi,
Is there a way to access a portlet in a non-portal application using javascript. The non-portal application may be a PHP one.
Also, is it possible to send some parameters through javascript so that the portlet can use it and render different content.

If by domain you mean the accessed url (and not the weblogic domain) , then yes any ajax based solution needs the files to be located in the same domain (as the browser sees it).
If that isnt the case you
a. Either use some sort of frames
b. use a server side proxy
c. Other loading javascipt based techniques
Of this b. is the most common , because its pretty simple to do as most modern webservers directly allow you to reverse proxy to any site by simple configuration.
E.g. if you have PHP on apache as www.youweb.com and your weblogic runs on yourapp.com , you can create a rule on the apache which states that /xyz goes to weblogic (by using the weblogic plugin or mod_proxy). Once you do this , you are running on the same domain as the browser ses and ajax will work

Similar Messages

  • Accessing Object Clusters From non-web applications

              Say I have a three-tiered WebLogic cluster (web proxy, servlet, EJB).
              I have an application that wants to access the EJBs directly from
              the object cluster via RMI or Corba.
              If I'm correct, the only load balancing/failover would be provided
              by DNS. So how are non-web applications able to enjoy the benefits
              of the cluster?
              I suppose you could send your EJB requests through a servlet??
              Is that the only way?
              Please share your ideas!
              Thanks,
              Dave
              

    See http://www.weblogic.com/docs51/cluster/concepts.html#1024225
              David Mrozek <[email protected]> wrote:
              > Say I have a three-tiered WebLogic cluster (web proxy, servlet, EJB).
              > I have an application that wants to access the EJBs directly from
              > the object cluster via RMI or Corba.
              > If I'm correct, the only load balancing/failover would be provided
              > by DNS. So how are non-web applications able to enjoy the benefits
              > of the cluster?
              > I suppose you could send your EJB requests through a servlet??
              > Is that the only way?
              > Please share your ideas!
              > Thanks,
              > Dave
              Dimitri
              

  • Accessing ContentDB Webclient from Oracle Portal

    Hi All,
    Is there a way to access ContentDB webclient from oracle portal application.We are new to oracle portals. Please let us know if anyone has idea about how to proceed on developing it to access ContentDB webclient.
    Thanks,

    I could be completely wrong here, but I believe you may be able to write a PDK portlet that uses the Content DB API.
    The path we are taking is using Webcenter with a JSF bridge and the Content DB (CDB) API. In JDeveloper, we have multiple samples of the ADF/JSF-CDB API functioning. We then moved on and have JHeadstart producing the ADF/JSF; which in turn uses the CDB API. We are currently testing deployment.
    Our next step will be to link it with Webcenter and we will have should then have our portlet.
    Hope that helps.
    Steve

  • Submit a webdynpro IView from a non-Portal application

    Hi,
    i have create a WebDynpro application. This application shows in a table a list of '. This reports are IView for Bex Web Application in a SAP portal. For navigation to this BW IView the WebDynpro application must be also embedded in a WD iView.
    The problem is:
    This WD IView will be requested by a non-sap/portal application with dynamic parameters and also with the POST method.
    In the WD application i have implemented the parameter request with following code:
    int i = 1;
    String name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var_name_" + i);
    If the non-portal application submit the WD application directly -> the parameters are available.
    But when the non-portal application submit the WD IView, then the Parameters are 'null'.
    Thank you for quick response
    Anne

    Hi,
    yes I'm use the statement to submit the iView:
    <form action="http://server:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.kwl.kwl-01.KWL-01%2Fcom.kwl.kwl-01-iviews.KWL-01-Iviews%2Fcom.kwl.WEB_DP%2Fcom.kwl.IW_GISBW&DynamicParameter="
    method="post">
    var_name_1<input name="var_name_1" type="text" value="ZHAMFSB"><br>
    var_value_ext_1<input name="var_value_ext_1" type="text" value="129191"><br>
    var_name_2<input name="var_name_2" type="text" value="ZHAMFSB"><br>
    var_value_ext_2<input name="var_value_ext_2" type="text" value="129761">
    <input type="submit" value=" Senden ">
    In this case the DynamicParameter will be send by GET.
    But i want use the POST Method.
    I get the parameters in both cases not in my WD application.
    What is the problem?
    Thank you
    Anne

  • SSO from non-SAP application to EP system

    Hi all,
    Is it possible to configure the Single sign-on from non-SAP application to SAP Enterprise portal?
    My requirement is
    I have a link to "Enterprise Portal" in my company's website home page. If I click on the link, it should directs to EP portal with out asking for logon.
    Please suggest, is it possible??
    Regards,
    Sujoy

    Hi Sujoy,
    SSO implementation to non-browser applications i.e non-SAP systems is possible in 3 ways which are listed .Can find useful info in the below links.
    http://help.sap.com/saphelp_nw70/helpdata/EN/12/9f244183bb8639e10000000a1550b0/frameset.htm
    among the non-browser applciation if it is an MS dotnet system then the below article will give a clear understanding of SSO implementation.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f05ae0f0-bf93-2b10-ed9e-a7320c012841
    Regards
    Supraja

  • How to Upload a file to KM Content repository from a Portal Application

    Hello All
    I have a urgent requirement where i have to upload a file to a KM Content Repository from my Portal Application which is a JSP DynPage Component..
    I am new to the area of Knowledge Management...Can anyone guide me of how to achieve this functionality from my component..
    I will be highly obliged..
    Thanks
    Sundeep

    Hello Sundeep,
    Check this:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=241883
    One more important doc:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f7ced90-0201-0010-589f-8eff15a14072
    Sample coding for content creating and retrieval
    String out = new String(“my content”);
    ByteArrayInputStream data = new
    ByteArrayInputStream(out.getBytes());
    IContent newContent =
    new Content(data, “text/plain”,
    data.available());
    resource.updateContent(newContent);
    IContent oldContent = resource.getContent();
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers
    Message was edited by:
            Praveen Gudapati

  • How to read xml file present in the UCMS from  webcenter portal application

    Hi,
    I'm new to webcenter portal and would like to know how to read an xml file which is present in UCMS 11g(contributors folder) from webcenter portal application.
    Thanks in advance

    I guess I had mentioned that I want to read it via my webcenter portal app rather than login to ucms and searching it via url.
    I want text labels and button names being stored in the xml file which I'm going to keep in the UCMS.
    After reading that from the xml will be placed at appropriate locations like the button values and label feilds, so that we dont need to deploy entire app for this kind of simple changes.
    Now can anyone provide some help with the api's related to this?

  • Accessing a portlet from mobile device

    Hi,
    What are the settings needed to access a portlet from a mobile device?
    Is there any document which gives the steps involved in configuring a portlet to access in mobile device?
    Thanks in advance,
    RajeshJV

    Hi Rajesh,
    Did you find any help on this? I am also looking for same.. if you have anything pls share..

  • SSO from non sap application server to SAP systems

    Mysapsso2 cookie has been generated after we are login into the portal https://FQDN/irj/portal for all the backend systems in client browser. Since it is working fine. After login into the portal , while clicking the URL iview of external JBoss application sever in portal home page and it is shows the new windows pop up login page. After login into this external JBoss application server, we have configured work item for SAP ITS WEBGUI login page of the backend system inside this JBoss appliaction. Here we need to pass the mysapsso2 cookie information in SAP WEBGUI, so that login page is bypassed using SSO. Kindly do give some suggestion for fixing this issue. Kind Regards, R Rajavelu

    Try to use it Appsintegrator to access the non sap application from SAP Application

  • Calling portal framework page from non portal page

    Hi,
    We are having some difficulty in passing control from the non portal pages to
    the Portal Pages.
    To explain you more elaborately, I am writing down the scenario:
    Both our portal and non portal pages reside under the same web application folder.
    We have a Portal Page containing one portlet.Clicking on one of the hyperlink
    on this portlet page takes us out of the portal environment where we are doing
    some processing.
    (Why we are going out of the portal environment is because we want to call the
    existing pages as it is and our intention is not to make the existing pages portal
    enabled to start with).
    Somewhere down the journey on the non portal page, there is a requirement to call
    the Portal Framework page.
    We can call the portal Framework page from the non portal page by hard coding
    the URL of the Portal page by writing something like this in href:
    http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
    But this is not what we want. We want to call the portal page without hard coding
    the URL.
    If we use portlet tag in non portal page to call the Portal Framework page ( <a
    href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>), it throws
    us error "Could not find current Portlet State" which is quite understandable,
    because portlet state is now lost.
    Is there any way we can achieve this .
    Any suggestions or ideas?
    Thanks
    Ajay

    Hi
    i think you should use portal:createPortalPageChangeURL (you are effectively changing
    your portal page) .
    if you want to invoke a specific event in your portlet webflow you can either
    write a RefreshControllerIP or use WebflowJSPHelper.createWebflowURL.
    bear in mind if you have urls that directly go to an intermediate event in the
    portlets webflow you may need
    http://dev2dev.bea.com/codelibrary/code/portlet_pp.jsp
    regards
    deepak
    "Ajay" <[email protected]> wrote:
    >
    Hi,
    We are having some difficulty in passing control from the non portal
    pages to
    the Portal Pages.
    To explain you more elaborately, I am writing down the scenario:
    Both our portal and non portal pages reside under the same web application
    folder.
    We have a Portal Page containing one portlet.Clicking on one of the
    hyperlink
    on this portlet page takes us out of the portal environment where we
    are doing
    some processing.
    (Why we are going out of the portal environment is because we want to
    call the
    existing pages as it is and our intention is not to make the existing
    pages portal
    enabled to start with).
    Somewhere down the journey on the non portal page, there is a requirement
    to call
    the Portal Framework page.
    We can call the portal Framework page from the non portal page by hard
    coding
    the URL of the Portal page by writing something like this in href:
    http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
    But this is not what we want. We want to call the portal page without
    hard coding
    the URL.
    If we use portlet tag in non portal page to call the Portal Framework
    page ( <a
    href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>),
    it throws
    us error "Could not find current Portlet State" which is quite understandable,
    because portlet state is now lost.
    Is there any way we can achieve this .
    Any suggestions or ideas?
    Thanks
    Ajay

  • How to hide a portlet in a portal application

    Hi, there,
    I want to implement a scenario that restrict specific group of users to access specific portlets based on the users' role. For example, suppose that some portlets labelled A1, A2, B1, B2 and B3. Group A users can only access A1 and A2; where group B users can only access B1, B2, and B3.
    Since the Weblogic portal workshop only allows creating portal application by manually adding portlets, and each portlet does not have hidden property.
    How can I hide the portlets (B1, B2, and B3) that are not used by group A users; and hide the portlets (A1, and A2) that are not used by group B users.
    Thanks a lot.

    You need to use the streaming mode and setup entitlements. Search the docs for this.
    You cannot do this through workshop, but rather need to use the portal admin tools.
    Kunal

  • Calling a web service from a portal application / SOAP Action

    Hallo,
    Ich möchte aus einer Portal Applikation auf einen Web Service zugreifen.
    Dafür habe ich mit dem Wizard "Portal Service from Wsdl file - Client side"
    eine Portal Service erzeugt, auf den ich dann zugreife.
    Leider wird dabei ein Fehler ausgegeben (Stacktrace-Ausschnitt s.u.).
    Ich habe ein Posting zu dem Fehler hier im SDN gefunden, leider hatte dort niemand eine Antwort. Vielleicht hat inzwischen jemand eine Idee?
    Das Feld soapaction ist in der soapconfig.xml leer angegeben (soapaction="").
    Es ändert aber nichts an der Fehlermeldung, wenn ich dort etwas eintrage.
    Ein weiterer Gedanke ist, dass die soapaction, die wenn ich es richtig verstehe eine URL auf die web service methode enthalten soll, im Grunde dynamisch sein sollte, da der Web Service lokal in dem Portal läuft, auf dem die Applikation gerade deployed ist. Auf den Web Service wird mit WebDynPro erfolgreich zugegriffen (dynamisch). Meine Vermutung ist, dass hier das Problem liegt und es entweder mit diesem Wizard nicht möglich ist oder ein Bug vorliegt.
    Also ist die Frage: Wie erzeuge ich dasselbe für eine Portal-Applikation?
    Ich hoffe, dass mir jemand mit einer Antwort oder Hinweisen wo man weiterforschen kann, weiterhelfen kann.
    Freundliche Grüße,
    Daniel Dehnhard
    Stacktrace:
    Component finished with error: (com.sapportals.portal.prt.service.soap.exception.PRTFaultEnvelopeVersion)
    java.lang.IllegalArgumentException: The SOAP Action "" include in the soap request not corresponding to the Portal service method.
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.processParams(PRTSOAPBodyElement.java:253)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.init(PRTSOAPBodyElement.java:190)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.(PRTSOAPBodyElement.java:56)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.init(PRTSOAPBody.java:94)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.(PRTSOAPBody.java:36)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.init(PRTSOAPEnvelope.java:113)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.(PRTSOAPEnvelope.java:54)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.processSOAPMessage(PRTSOAPMessage.java:58)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.(PRTSOAPMessage.java:40)
    at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:180)
    at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)
    at de.enviam.ep.egk.km.webservicewrapper.Z_EP_EM_EGK_CustomerGroupToCRMData.getCustomerGroup2CrmDataByGPNr(Z_EP_EM_EGK_CustomerGroupToCRMData.java:218)
    at de.enviam.ep.egk.km.imp.EPImpSchedulerTask.resolveGroupId(EPImpSchedulerTask.java:764)

    Hi,
      I am accessing a web service from a Portal Component through a Portal Web Service. First i created a web service, then a portal web service which is made to access the wsdl file of the web service. Now i access the Portal Web Service from a Portal Component. Now i am getting an error as,
    Exceptionjava.lang.IllegalArgumentException: The SOAP Action "" include in the soap request not corresponding to the Portal service method.
    The code which i wrote in component is below
    String text = "word";
    FuncHelloResponse res=new FuncHelloResponse();
    FuncHello fn= new FuncHello() ;          
    fn.setName(text);
    res= (  (INewPortal) PortalRuntime.getRuntimeResources().getService(INewPortal.KEY)).FuncHello(fn);
    response.write(res.getResponse());
    Can any one solve this problem?

  • Webclipping Portlet in Webcenter portal application

    When creating a web-clipping port-let in Webcenter portal application, we register the url for the webclipping portlet (http://localhost:7101/portalTools/webClipping/providers/webClipping) as Oracle PDK Producer connection as mentioned in Web center portal developer's guide http://docs.oracle.com/cd/E25178_01/webcenter.1111/e10148/jpsdg_pages.htm#CHDJDGIF.
    The content for the web-clipping portlet is to be specified at runtime only.
    Is it possible to define the contents for the web clipping portlet in design time/JDeveloper itself.
    Thanks,
    Navaneeth

    You mean you have exposed the taskflow and consumed it as a portlet in Webcenter ?
    You may want to check it on the Webcenter Portal forum too - WebCenter Portal

  • Access Oracle 9i from a Client Application without Oracle Client Install.

    Is it possible to access an Oracle Database from a Client Application without having an oracle Client Installation ?
    I want to write a program that connect to an Oracle Server. I use Borland C++. But my Programs only works with having the Client Oracle Software installed on the Client. Is there any way to realise this ?

    The way that 99% of the people that want to do this manage is to write Java code that connects to the database via JDBC, using Oracle's thin JDBC driver.
    If you absolutely have to use C++, you can purchase thin ODBC drivers from third parties (DataDirect for example) that will connect to the database without the Oracle client. I'm not aware of any thin, free ODBC drivers.
    Justin

  • Accessing iPad camera from within DPS application

    I have a potential client who asked me if it were possible to access the camera from within a DPS application. I have no further information at this point regarding what the reason for it will be but thought I'd shoot the question out anyway. Apparently it is possible in iOS 6 to access the camera in mobile Safari but I don't know if that is of any help.
    Thoughts? Thanks!
    :jaj

    See http://forums.adobe.com/message/5040166#5040166.
    Neil

Maybe you are looking for

  • Tax Related BeX Queries in BC

    Hi All, Has anyone worked on queries (from Business Content) that are ralated to Tax, Witholding Tax, VAT etc. Some of the Report Headers are: 1. Generic - Advance Return for Tax on Sales/Purchases 2. Generic - Generic Withholding Tax Reporting 3. Co

  • Need help for a post-processing "trigger"

    Dear all, Without getting into much detail, I have a system that is simultaneously introducing a sinusoidal Force (F) and measuring the sinusoidal response (X) of a structure under resonance. I need to acquire the whole time signal, including the fre

  • Tagging text boxes so that they are read in a particular order

    HI I created a one page MSWord 2007 document that contains a screen image in the middle with numbered text boxes around it explaining the various features found in the image. The numbered boxes go clockwise around the image. How can I set this up so

  • Cannot send mail with .mac

    I can receive mail with .mac account, but not send mail. I can send and receive mail using another account. Has something changed with .mac?

  • Power charger compatibility with ipod touch 3 gen

    I have an ipod classic that came with one of the USB/dock power chargers about 5 years ago. I had a look at the ipod touch 3rd gen & it apparently isn't compatible with that charger - 1 gen & 2 gen are, but not 3 gen. So is there a charger that will