It should have read GET_FILE stream with personalized service in the java class

Hi all

Once I run service GET_FILE with in the java class of a custom service, how can read the stream with bytes (content).
I cannot stream content of the DataBinder object or any other. I have not found any method of DataBinder to read the stream of content.

Please help playback of streams of content of a java class personalized service?

Thank you in advance.

Hello

In a service context, here's how retrieve the content as a stream:

IdcFileDescriptor d = this.m_fileUtils.createDescriptorForRendition (this.m_binder, FileStoreProvider.R_WEB);
InputStream in = this.m_fileStore.getInputStream (d, null);

The binder must contain the information (metadata) to identify the document to be retrieved.

Roman.

Tags: Fusion Middleware

Similar Questions

  • I sent an email with personal information on the wrong account can I block it

    I sent an email with personal information on the wrong account can I block it

    Lol when the message leaves your Outbox, is only a matter of one or two seconds, until it is on the server of recipients.

  • I have problems with my application of the java language.

    I have problems with my application of the java language. It will be open only for about one second, and it won't let me write all programs, it looks like the command prompt when opening. what the * is underway and what can I do to solve this problem.

    Hey Kevin,

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it.

    I would really appreciate if you could answer the following questions:

    1. is the specific question of the application of the Java language?

    2. did you of recent changes made to your computer before the show?

    3. you receive an error code or message?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    If the problem is specific to the Java application, then I suggest you to contact Java support from the links below:

    http://www.Java.com/en/download/support.jsp

    Java Help Center:

    http://www.Java.com/en/download/help/

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • Why can't I read my PDFs with CD player after the upgrade of Apple OS 10.11?

    Two days ago I could read my PDFs with Acrobat Reader DC while running OS 10.9 on my Mac Mini. Today, I upgraded to OS 10.11 (El Capitan), but now I can't read my PDF files. The player will launch, but never to show the document. No error message. No matter if I try to open the PDF file by clicking or using file > open.

    So far, I have:

    (1) removed and reinstalled Acrobat Reader DC.

    2) updated the player via the menu help. 2015.009.20077 running. By the Adobe website, I am told that it is the most recent version.

    3) based on a forum comment, I disabled both plugins Adobe in my folder of Plugins from the Internet. No effect. The replaced. No effect.

    4) based on a forum comment, I registered on the Adobe Web site... and so that's why I can of this type. Confirm my email address. Connected. No effect.

    5) based on a troubleshooting page, I did so that the operating system will be associated with the single CD with pdf files. Not found a problem there.

    How can I fix this so I can read PDF files that I have read two days ago?

    Hi Robert,.

    Try to install the reader here XI: Adobe - Adobe Acrobat Reader DC Distribution and check if you are able to open a PDF file or not.

    Thank you

    Abhishek

  • my computer tells me that (this file does not have a program associated with an association in the Panel options files to perform this action.create)

    my computer tells me that (this file does not have a program associated with to perform this action.create an association in the Panel options files) when I try to click on a link

    Hi rayperkin,
     
    -You are trying to open this link from a Web site or is it an application?
     
    Follow the steps listed in the article given below to resolve this issue:
  • When I opened my account it gives that error message = this file does not have a program associated with it to perform the action, please install a program

    When I double click on any folder error message comes ==this file has not a program associated with it for performing the action, please install a program, or if alreadycreate an association program in default Panel.


    and when I right click it once options such as search, cmd, opening...



    Please help me I would be very grateful to you...

    Hi Siddharth,

    Were there any changes made on the computer before the show?

    Method 1:

    Restart your computer in safe mode and check if the problem persists.

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Method 2:

    I suggest you to refer to the items and set default values:

    Change the programs that Windows uses by default

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    Change default programs using Set Program Access and computer defaults

    http://Windows.Microsoft.com/en-us/Windows7/change-default-programs-using-set-program-access-and-computer-defaults

    Method 3:

    I suggest to create a new user account and check if it helps:

    Create a user profile

    If the new user profile resolves the problem, you can fix the corrupted profile.

    Reference:

    Difficulty of a corrupted user profile

    Let us know the results.

  • Help with Essbase 9 and the Java API

    Hi, I am trying to connect to Essbase to a Java desktop app and I'm unable to do so. I need to know if I'm in principle do the right things and if I have the good environment set up.

    We have a server with Essbase version 9.3.1. We normally use essbase through the Excel add-in, and I already wrote it Excel applications that can use both the add-in and the Essbase API in VB. Now, I need to connect to Essbase but out of Excel and using the Java API. I have no idea what is APS don't my Essbase administrator.

    My request has the following (adapted from a post on this forum)-
    Public Shared Sub main (String [] args) {}
    String s_userName = 'user ';
    String s_password = "password";
    String s_olapSvrName = "ustca111";
    String s_provider = "http://localhost:13080/aps/JAPI ';
    try {}
    ESS IEssbase = IEssbase.Home.create (IEssbase.JAPI_VERSION);
    DOM IEssDomain = ess.signOn (s_userName s_password, s_provider, null, false);
    IEssOlapServer olapSvr = (s_olapSvrName) dom.getOlapServer;
    olapSvr.connect ();
    System.out.println ("connection to the server Analyic '" + olapSvr.getName () + "' has been a success.");
    olapSvr.disconnect ();
    } catch (EssException exp) {}
    System.out.println (exp.getMessage ());
    } }

    I'm running my app on my computer, not on the Essbase server, and the user name that I use is the same one I use (as a user of Essbase) through the Essbase Addin in Excel, not an admin login.

    When I run the application, I get:
    "Cannot connect to the Server.Make provider ensure that access code settings are correct and the server of the provider is running."

    Please can you confirm:
    (1) do I need an admin login for my client application to connect to the Essbase server or can I use a dial-up connection in normal play, like the one I use in Excel?
    (2) is the same provider regardless of the computer, i.e. "http://localhost:13080/aps/JAPI '; How can I know what this could be? Where can I get this information?
    (3) how can I make sure that the server is running the server needed 'provider', it's just a service that appears on the server services.msc? What should I ask the Essbase administrator for him to tell me what I need?

    Thank you very much.

    Leo

    Leo,

    You have APS and Shared Services running on your server? It would be the first question to answer. If you put in the url (http://localhost:13080/aps/JAPI, in your program) in a browser, you get a generic APS screen, or you get an error "page is not available. Unless you connect to APS that is running on the same computer that is running your Java application, the section 'localhost' should be the name of your APS Server.

    (1) for this Java program, you connect just to read only access that ID is OK
    (2) the supplier would be the same for every customer. The provider is the URL of your APS Server. Unless you run in embedded mode, you must APS to connect with the Essbase server. In embedded mode, you talk with the Essbase server, see [this thread | http://forums.oracle.com/forums/thread.jspa?messageID=3314485?].

    (3) APS - Analytic Provider Services, I'm not sure what it would show on a Windows Server. I suppose it would be something on Hyperion System 9 Analytic Provider Services. If you have installed APS, I would try the embedded road because it's the only way you will get to work.

    Published by: rjgideon on June 2, 2010 16:18

  • Problems with configuration properties and the java plugin

    Hello

    I have test the java plugin from the hyperic documents. Autodiscover works very well. Now, I had the problem if I want to change all "configuration properties" I get following error message:
    ' The configuration has not been set for this resource due to: invalid configuration: error reported by Agent @ 141.73.130.146:2144: java.lang.NullPointerException.
    Wait I use properties by default, then I don't get any errors.

    What is the problem?

    MyAutoDiscoveryServerDetector.java
    ---------------------------------------------------------------------------------------------------------------------------
    SerializableAttribute public class MyAutoDiscoveryServerDetector extends ServerDetector implements

    {AutoServerDetector}

    public list getServerResources (ConfigResponse platformConfig)

    get {PluginException}

    Server list = new ArrayList();

    Server ServerResource = createServerResource ("My Auto-Discovery Server->" + (x + 1));

    ConfigResponse productConfig = new ConfigResponse();

    productConfig.setValue ("myTimeout", String.valueOf ((x+1) * 1000));
    productConfig.setValue ("myUrl", "http://127.0.0." + (x + 1));
    productConfig.setValue ('Description', 'Description - my Auto Discovery Description->' + (x + 1));
    productConfig.setValue ("myValue", 10);

    server.setProductConfig (productConfig);

    Servers.Add (Server);

    return of the servers;

    }
    ---------------------------------------------------------------------------------------------------------------------------

    HQ - plugin.xml
    ---------------------------------------------------------------------------------------------------------------------------
    <? XML version = "1.0"? >
    < package = "com.citytechinc.articles.hyperic.plugin plugin" >

    < name of the filter = "domain" value = "My Auto Discovery" / >

    < name of the server = "MyAutoDiscoverServer" version = "0.1 c" platforms = "Unix, Win32" >

    < plugin type = "autoinventory" class = "MyAutoDiscoveryServerDetector" / >
    < plugin type = 'measure' class = "MyAutoDiscoveryServerMeasurementPlugin" / >

    < config >

    < name of option = 'myUrl '.

    Description = "Enter the URL for this resource"

    " default = ' http://127.0.0.1 "/>

    < name of option = "Description".

    Description = "enter a description of this plugin"

    default = "default my Auto Discovery Description" / >

    < name of option = "myTimeout."

    Description = "time-out for something in my plug-in.

    default = "0" / >

    < name of option = "myValue"

    Description = "a metric value.

    default = "10" / >


    < / config >


    < name metric = "availability".
    alias = 'availability '.
    Template = "System.avail:type = Platform:Availability"
    category = "AVAILABILITY".
    indicator = 'true '.
    collectionType = "dynamic".
    units = "percentage" / >

    < name metric = 'value '.
    alias = 'value '.
    model = "" MyPlugin:Type = value: value ' "
    category = 'USE '.
    indicator = 'true '.
    collectionType = "dynamic".
    units = "none" / >

    < / Server >

    < / plugin >
    ---------------------------------------------------------------------------------------------------------------------------

    UM,.

    This must be due to an incompatibility between the definitions of plugin in the server (and/or of the database) and the agent.

    First of all, always check the server log, errors that appear it should lead to the cause.

    The plugin xml initialized ok on the server, or any error appear?

    You go to Administration-> default trace and see your plugin (Server Type: MyAutoDiscoverServer) and everything is there?
    If this isn't the case, errors occurred when starting the server, check the log.

    Did you start to shave - created the plugin, added to both server and agent, autodiscovery, the platform/server added in Hyperic - or you already had the server/platform added in Hyperic and who has made some changes in the xml plugin that may be in conflict with what is already in the Hyperic database?

    Generally the pitfalls that come from these errors.

    Been there, done that.

  • Personalized service at the University Complutense of MADRID 11g - can't find correct .jar files

    Hello

    I'm migrating some personalized services I created in gr 10, 3 in the new 11 g platform. The services contain some java methods custom that I was upgrading from the previous version by using the server\shared\classes\server.zip package.

    It seems that the structure of the new UCM has somewhat changed - I found a package of 11g to ucm\cs\weblayout\common\idcapplet.jar which seems to contain some of the classes, but not all. Specifically, it doesn't have the packs of intradoc.server or intadoc.provider I need to expand the classes of Service and ServiceHandler.

    Does anyone know where these packages are kept in 11g, or if they even still exist in the new architecture?

    Sorry if I missed some information key, do not hesitate to ask. Thanks in advance!

    Hey,.

    idcserver.jar is indeed the correct file. You can find it at %MIDDLEWARE_HOME%/Oracle_ECM1/ucm/idc/jlib/

    Hope that helps,
    Andy Weaver - Senior Consultant software
    Fishbowl Solutions< http://www.fishbowlsolutions.com?wt.mc_id="L_Oracle_Consulting_amw_OTN_ECM">

  • It should have read values in an openscript by reading csv

    Hello

    I'm working on OATS. I am a beginner.

    I have a csv file that contains data to select an openscript dynamically.

    for example:

    Col1 col2 col3 col4

    A               D             E                F

    B               C             G

    H                               I

    The data must be like that. Any number of values and any value in each cell for any column,

    The user should be able to change the number of values, and the values in each column before you reproduce openscript files.

    How to change the script to take the values dynamically from the csv file.

    I know data can be iterated using databases. This should not be iterated. All values must be selected at the same time, and the script should be run.

    Please explain in detail what changes to code that I have to do here.

    datatable.importExcel("C:/OracleATS/OFT/Advance Planning Data.xlsx", true);
    
             String colName = "bbb";
    
            String cellValue1 = datatable.getValue(0, colName).toString();
    
              int count=0;
    
                do{
    
                    info(cellValue1);
              count++;
              if(datatable.getValue(count, colName) == null){
                  break;
              }
              cellValue1 = datatable.getValue(count, colName).toString();
    
              }while(cellValue1!="");
    

    Try again with this...

    used according to the table, 1st rank in the header

    A B C D
    1 AAA BBB CCC
    2 A1 B1 C1
    3 A2 B2 C2
    4 A3 B3 C3
    5 A4 C4
    6 A5 C5
    7 A6 C6
    8 C7
    9 C8
    10

    Kind regards

    Dembélé M

  • I have a new laptop with Windows 7. The navigation (?) bar comes and goes, depending on the position of the cursor. I wish it were still visible. What should do?

    I just downloaded and configured FireFox for my new computer with Windows 7. I've included restaurateur Classic theme in my Add ons. I have only 1 bar (Navigation (?)) at the top of the screen, under the tabs. It has everything I need in there, but I want it to be stationary, rather than appearing when I move the cursor towards it & if I move the cursor away in endangered. I would like to be able to see the bar without having to stop what I'm doing to make it reappear. This seems to be a novelty. My old version of several weeks, do not. Help, please. Thank you...

    I can't think of anyway to make the Navigation bar appear/disappear based on the direction in which you move your mouse.

    Well, there is the view full screen, where the area of entire toolbar including the tabs slide bar up out of the screen and reappears if you drag the pointer of the mouse completely to the top. (You can use the F11 key to activate the full screen on and outside).

    Is it possible, that there is an option of one of your extensions?

  • Since the firefox 6.0.2 update addons block the use of the video on youtube. I have a few addons: blockadd +, click on Skype, the java console, quickdrag, nf microsoft help, adv. Kasparsky URL on the web, I've read that I'm not the only one with this prob

    According to the previous question. YouTube videos, whether on youtube or on FB, do not show, just a black screen still. When I disable all (some does not, it seems) addons, the problem is solved. It is, I want to keep the addons and use youtube. I see a list of plugins here below; I'm not talking about the plugins, I do not know if and how they affect this issue.

    Test for faulty Extensions

    Check and tell if its working.

  • Concerned by several users, reading files interfering with write access to the files

    I have a LV MY application that will run in several places/computers. Each will create a single HTML report and update frequently. These HTML files will be accessed and combined by another application of LV in a new HTML file that will be updated frequently. All HTML files could be opened by a user at any time in a web browser.

    What concerns me, it's HTML reports could be avoided by a user, or the application of the combination to be written by the app MY? If the user or application combining a box open report she always written by the app MY? It goes the same for the app combining prevented to be written if a user has his open output HTML code?

    Each HTML file can only be written by an application but read by many potential users and/or an app.

    All programs run independently and asynchronously. Each application runs on its own computer and files all exist in a network location.

    Can I do this by controlling all users file privileges? If anyone has read only permissions except the written computer the HTML file that will be enough?

    MES Manufacturing Execution System is

    Thank you

    Judd

    I guess as long users see the reports with a web browser, it should be no problem.

    Browsers Web do not "lock" a file when they open it like Word or Excel because web browsers are not and should not modify or change the file somehow.

    If only one person could display a web page to internet time would not work as we know it.

    But if you're worried about it use LabView to lock files during execution of the program. Only in this way, users can open the file as read-only if they use something that can change the files. If you use the standard LabView open file read/write vi passing a file reference, then this will be done automatically.

  • I have read reports that ICS was released in the United Kingdom

    I read on about 20 Web sites now that ICS is out for the RAZR in the UK

    But when I check my phone it say, it is up to date.

    Is ICS offline and if yes why my phone says no it isn't

    Or do I have to make an adjustment on my phone to get the download to start

    I've never had to do it before my old Sony/HTC phones had updates simultaneously dead Web sites.


  • I have the virus of file recovery, now I have a black screen with cursor blinking in the upper left corner.

    I have a Pavilion Notebook and recently caught the virus from file recovery.  I bought and ran the disc of Trend Micro Titanium Maximum Security.  Now, I get a black screen with a flashing cursor in the upper left corner of the screen.  All tests ran for memory, hard disk, etc. are OK.  Now I have a recovery disk, but have not backed up my files.  Any suggestions?

    Download your backed up files, then you can boot from your recovery disks to reinstall Windows.Several options to do so.

    Remove the hard drive and attach it to one > USB adapter . Plug it into another computer via usb port and copy files off the power.

    You can use > Ubuntu Live CD to boot from and backup files.

    OR ->Kaspersky CD has the ability to back up files.

Maybe you are looking for