Get HTML (Dynamic Converter) converted content from external application

As per requirement, External (Other java application) application suppose to get dynamic converted (HTML version) content from UCM.
I am trying to execute GET_DYNAMIC_CONVERSION service using RIDC and web service client call.
I dont see HTML content is coming as the result of GET_DYNAMIC_CONVERSION service.
Would you please guide me in getting HTML converted document from external application.
Please let me know, if you need additional details.
Thank you in advance
Edited by: 958795 on Sep 12, 2012 3:29 PM

Hi Srinath,
I have tried your response. Still i am getting hda data only, not HTML content.
GET_DYNAMIC_URL service with fileUrl attribute is returning HTML content from UCM GUI (browser) but not from RIDC.
Code i tried is:
DataBinder dataBinder = idcClient.createBinder();
          dataBinder.putLocal("IdcService", "GET_DYNAMIC_CONVERSION");
          //dataBinder.putLocal("dID","1832");
          dataBinder.putLocal("dDocName","ECMPS5_002024");
          dataBinder.putLocal("IsJava","0");
          dataBinder.putLocal("RevisionSelectionMethod","LatestReleased");
          dataBinder.putLocal("DCViewFormat","WebViewable");
          // execute the request
          ServiceResponse response = idcClient.sendRequest (userPasswordContext, dataBinder);
InputStream istream=response.getResponseStream();
InputStreamReader isr = new InputStreamReader(istream);
BufferedReader br = new BufferedReader(isr);
String line = null;
while ( (line = br.readLine()) != null)
System.out.println(line);
}

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.

  • How to read xml reports from external application

    Hi All,
    I want to generate reports from SIEBEL Database and access those reports from external application(like BlackBerry application). I have gone through by some blogs and found that we can access the generated reports from an external application using the URL.
    When I use this URL on browser it gives me the xml file of the report. But I am unable to read this file from the Blackberry application.
    Thanks in advance

    Hi Angha,
    I want to invoke other portal application from my application.
    Portal URL's also get changed from one system to Other. Prototype Portal->Development Portal -> Quality Portal->Production Portal>
    All the above Portal URL will be different.
    I want trigger another application dynamically.
    Thx & Rgds
    AW

  • How to stop vdbench from external applications? What are the impacts?

    I am using vdbench to test following scenario:
    1) Start vdbench - do read/write (I use poweshell start-process to start vdbench which returns me the process object )
    2) Poll for particualr system event(my test condtion). When the event happens stop read/write ASAP(To stop the process I use powershell Stop-process and pass process object as the argument. This actually stops IO as seen task manger)
    3) Continue testing
    I want to understand
    1) Are the steps followed correct?
    2) What is the correct method to stop vdbench from external application?
    Regards
    Jugari

    An other thought, that maybe is of interest to you, coming in the next version of Vdbench.
    A conversation with one of my internal users:
    It does not make sense to look at current Vdbench output trying to figure out what is happening when.
    This locks us in to tricks and guessing and prevents me from make changes to the output.
    Monday I will create a new file in Vdbench: status.html
    This file will only be there for any kind of wrappers to see what is going on.
    I'll make sure that the file contents are flushed to the file system as soon as a line of text has been written.
    * Vdbench status
    * The objective of this file is to contain easily parseable information about the current state of Vdbench.
    * This then can serve as an 'official' interface for any software monitoring Vdbench.
    * Each line of output will be immediately flushed to the file system, making its content accessible by any monitoring program.
    * The values below are all tab-delimited.
    03/25/2015-13:42:44-MDT Starting slaves
    03/25/2015-13:42:44-MDT Slaves connected
    03/25/2015-13:42:44-MDT Query host configuration started
    03/25/2015-13:42:44-MDT Query host configuration completed
    03/25/2015-13:42:46-MDT Starting rd=rd1 For loops: None
    03/25/2015-13:42:48-MDT Warmup done rd=rd1 For loops: None
    03/25/2015-13:42:51-MDT Workload done rd=rd1 For loops: None
    03/25/2015-13:42:51-MDT Slaves done rd=rd1 For loops: None
    03/25/2015-13:42:51-MDT Shutting down slaves
    03/25/2015-13:42:51-MDT Vdbench complete
    Henk.

  • How to pass values to dashboard prompts from external applications

    Any idea is well appreciated.
    How can I pass values of dashboard prompts from external applications to the dashboard prompts so that the dashboard is prefiltered based on values sent by external applications.
    Thanks in Advance!
    Kris

    Kris,
    i am able to change the session variable and able to call the dashboard from external app, but i identified prompt value not changing. but Finally i am able to found a workaround for you.
    Use the following URL and it explained here
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    PortalPath is your dashboard location. /shared/abcd is folder where i saved dashboards. dash1 is my dashboard name.
    internally this dashboard includes many reports that uses the session variable. after doing above this i am able to update the session variable to the value i have given in URL, DSN=value.
    You may observer here that calls the dashboard and passes the value but its not updating the prompt value. so workaround for this is edit your prompt,
    change the Default to - SQL Results and place the sql
    SELECT CASE WHEN 1=0 THEN Markets.Region ELSE VALUEOF(NQ_SESSION.DSN) END saw_0 FROM Paint
    again here Market.Region is column from presentation layer and Paint is subject area. After doing this step, your prompt always shows value in the session varible as default.
    Now include reports and dashboard prompt in the dashboard and run this url from external applicaitons.
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    it worked for me and blog this soon. if it works for you mark the question as answered and mark my replies as correct.
    thanks
    - Madan

  • Can XI as a middleware drive the content from the Application level

    Can XI as a middleware drive the content from the Application level (backend) into the front-end Portal?  By XI connectors?  Is there a documentation that explains that?

    You can't plug an iPod into an iPad in order to access its media, and as far as I am aware you can only use home sharing between a computer and an iOS device (iPad, iPhone, iPod Touch, but not an iPod Classic), and not between 2 iOS devices : http://support.apple.com/kb/HT4557 and http://www.apple.com/support/homesharing/

  • Make Firefox open URLs passed from external applications in new tabs

    I upgraded Firefox (Mac) from 3.6.13 to 3.6.14 yesterday.
    Since then Firefox does not respond to URLs passed from external applications, as it has always done.
    The external apps pass the URL, FireFox is brought to the front, but no Tab (or new window) is opened.
    Nothing else has changed. Firefox is selected as my default browser (in Safari Prefs) and there is only one copy of FireFox on my laptop,

    Hi David
    Go to Safari Preferences>General. At the bottom you'll see an option for opening in a tab. Makes sure Tabs are enabled in your Tab panel.

  • JSF pages to display content from external URLs

    Hi,
    Is it possible for a JSF page that uses ADF controls, and the PanelPage component to provide menuing, etc. to actually allow a HTML page (accessed via a URL to an external site/application) to be displayed in an area within the JSF page?
    For example, clicking a menu item to an external HTML page results in the page being displayed in a Frame or similar within the JSF page?
    I've tried the FrameBorderLayout control and Frame control to try to embed a Frame to display such a page via the target setting for a menu item, but that doesn't seem to work. At least not when within a PanelPage. It works within a basic JSP page.
    I would have thought it would be possible for a JSF application to incorporate HTML content from other sites/servers as if part of the application. Even if this meant defining "wrapper" pages of some sort to effectively link these into the JSF application as part of it's navigation rules.
    Or am I missing something?
    Gene

    Thanks,
    Yes, using an iFrame tag within a verbatim tag worked, allowing me to specify an external URL to a page which is then displayed at the location where I placed the verbatim tag. I need to investigate sizing/border settings, but at least I now seem to be able to embed such pages.
    This works.
    I tried jsp:include as well, but that only seems to allow relative URLs to pages that a part of the application. And using the c:import JSTL tag would import a page at an external URL, but didn't seem to position it where I wanted it.
    Gene

  • How to get top downloaded or accessed content from ucm in webcenter

    Hi,
    How to get the top ucm accessed contents or downloads from ucm using ridc?
    Is it possible to retrieve content tracker details using ridc?
    Thanks,
    Chandrasekar M

    Like anything else Content Tracker functionality is provided in a form of services, but it might require a bit search to find which services are to be called and how.
    However, Content Tracker stores data in the database tables - (also to be available for External Report Generator), so why not to take data directly from the database? Alternatively, you could configure the system to send reports for you and take it from there.
    What exactly is your use case?

  • How can I get my non purchased song content from ipod touch 4 back to my itunes library. My library

    How can I get my non purchased song content back into my itunes library from my ipod touch 4. My itunes had disappeared so I had to get another itunes & start again. I still have the original song content in the ipod.

    There is 3rd party software out there, but not supported by Apple, see this thread:http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0

  • How to get the Dynamic UI component value from JSFF page to any managedbean

    HI ,
    We have list of bean objects in jSF page we are iterating the list of bean using the forEach loop and displaying the value into Input type text (UI component) value filed .
    If we try to get the UI component value in Managed bean we are not getting the dynamic values .
    The below piece of code used to retrieve the dynamic values from the JSF page doesn't have any form :
    UIComponent component = null;
    FacesContext facesContext = FacesContext.getCurrentInstance();
    if (facesContext != null) {
    UIComponent root = facesContext.getViewRoot();
    component = findComponent(root, componentId);
    then component type casting to the based on UI component which we trying to access and getting the value as " NULL " ..Please let me know how to get the dynamic values form the JSF ?
    Please let me know if any other approach or any changes required on above ?
    Thanks

    Hi,
    the root problem is this
    <h:inputText id="it3" value="#{familyList.ctn}" />
    <tr:commandButton text="Save" id="cb3"Note how each row writes to the same managed bean property, thus showing the same data. Instead your managed bean should expose a HashMap property that you then apply values to using a key/value pair. The key could be the ID of the field, which then you also should dynamically define e.g. cb<rowIndx>. The command button could then have a f:attribute assigned that has the row HahMap key as a value. This way you truly create value instances for the object
    Frank

  • Import Content from External Websites - like videos, feeds etc.

    Hi all,
    I have an urgent requirement of importing video content from various social websites like Youtube, facebook etc. into Webcenter sites. How to use an inbuilt feature of WCS to import video content? Please help on this.
    Regards
    Nalin

    See here: http://docs.oracle.com/cd/E29495_01/doc.1111/webcenter_sites_11gr1_bp1_developer_guide.pdf Chapter 22 (BulkLoader)

  • Show Dynpro from external application

    I was wondering which possibilities exist to show a Dynpro page of an SAP application within another 3rd party application (written in Smalltalk).
    As far as I know it is not possible to call an RFC which returns a Dynpro page, so which alternatives exist.
    What came into my mind is the following:
    - Using ITS and calling the respective URL from the external application to show the Dynpro in SAP GUI for HTML
    - Re-Write Dynpro application in WebDynpro
    - Re-Write Dynpro application in BSP
    - Call BAPI/RFC to get application data on backend side and create an new UI to show the data in the 3rd party application
    - Separate Logon to SAP systems
    Do you see any other alternatives?
    In my opinion the ITS solution is the only feasible way on a short term basis.
    Any comments are welcome.
    Thanks,
    Michael

    Looks like you've arrived at a pretty comprehensive list - depending on which version of SAP you are using, there's also the Web Service option to get data from SAP... or if you are very brave and the data is stored in a simple format (e.g. not BSEG!) then you could visit the database directly.  You've got the usual dilemma regarding which of the 2 front tiers need to be implemented where - the SAPGui for HTML means you can leave everything to SAP which has its advantages e.g. consistent business logic...( you could also use ITS over custom dynpros built in ABAP - but that's probably heading away from the market trend )... the next two options require a re-rendering of the presentation layer - the advantage of BSP would be the richness of the result, the advantage of the WebDynpro would be the potential for having the output rendered in other SAP-supported GUIs in the future e.g. Flex.  There may also be options around Citrix too - SAP training course here are presented this way via a browser-based solution.
    Jonathan

  • Need info on Standard Web services to pull Order data in CRM from external applications

    Hi Gurus,
    I have a requirement to pull Order data in CRM from external non-sap application using Web services. Are there any standard SAP provided web services to pull order data based on some input? If yes, can you provide me any kind of documentation related to this?
    Appreciate your help on this.
    Thanks
    Lakshman

    Hi Lakshman,
    I have checked further.
    Please review below link of the SAP Help documentation :
    http://help.sap.com/saphelp_nw70/helpdata/en/47/3a989cbcef2f35e10000000a1553f6/content.htm?frameset=/en/46/97218e79f115eae10000000a114a6b/frameset.htm&current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&node_id=439&show_children=false
    and also the link :
    –http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=347DD31EB5AB4BC592BD8B29C0981A1B
    Hoping that this will be helpful.
    Best regards - Christophe

  • Cache problem when coming back from external application

    Let's see if I can explain this properly. We have an application consisting of a left menu with books and pages. Each page consists of one Struts portlet. In one case we direct the user to an external mail application. This is handled by the Struts action class setting some fields (identifier and a url to return to when closing the external application). Our action class forwards to a jsp page like this (where url, SESSION_KEY and LINKBACK_URL are populated by the action class)
    <form action="${url}" name="myForm" METHOD="POST" TARGET="_top">     
    <INPUT TYPE="hidden" NAME="i_session" VALUE="<c:out value='${SESSION_KEY}'/>">
    <INPUT TYPE="hidden" NAME="linkback" VALUE="<c:out value='${LINKBACK_URL}'/>">
    </form>
    <script language="javascript">
         document.myForm.submit();
    </script>
    The external application opens up in the same window and when the user closes it you're linked back to our application through the LINKBACK_URL. Now, when I click in the left menu as I did from the start all I see is a blank page (if I click once again it displays correctly) and if I press F5 I'm logged into the external application again so it seems the jsp page with the form is cached. I can in a way understand that it does but I don't want that so are there any way to get rid of this behaviour?
    Best Regards
    Torbjorn

    >
    Edited by Holy at 03/24/2008 11:32 PM

Maybe you are looking for