Appeal of determinations engine (10.3) with Java API

Are there examples of code was over what to call the engine with the Java API for 10.3 OPA?

Hi Robert,.

What would a full example code "? Examples of code using the OPA developer should demonstrate each of the various tasks needed to use the engine of determinations.

Kind regards
Brad

Tags: Oracle Applications

Similar Questions

  • XLIFF file format and use with JAVA API

    Hello

    We use BEEP version 5.6.3 in Oracle Applications 11.5.10.2 and we are developing some reports to be translated into 10 different languages. We are therefore very interested in XLIFF files but have some questions about the file format and the use of the JAVA API

    (A) FILE FORMAT
    Accuracy: we generate the XLF file in menu add-on BEEP in Winword MS used to build the RTF model
    (A - 1), the generated XLF file begins with:
    <? XML version = "1.0" encoding = "utf - 8"? >
    Can we change encoding to "ISO-8859-1' as soon as convert us the file format?

    A-2) section he < header > < skl > < file > internal - contains a huge chain that seeem to be binary... What is c? can delete us it?

    A-3) can you have a file XLF muliple < file > sections (one for each language translation)?
    This can be very useful for us to manage a translation only by a report model file.

    A-4) the most important section for translation is included in the tag < trans-unit >.
    Each of them has a separate as id "49e41f8f" '... '. Can we replace that with a larger significance?

    (A - 5) in the format of language is as "en-US" (area code + language code).
    It is case sensitive?

    (* B) THE USE OF XLIFF FILES WITH JAVA APIS *.
    We use the OPE "FOProcessor" class to generate the PDF providing:
    -Data generated by SQL report XML file
    -File XSL - FO, generated from the module BEEP in MS WINWORD RTF model
    -XLIFF file generated from RTF model by the module BEEP in MS WINWORD
    -The XLIFF file contains a file entry to translate the form English to French
    < file source = target language language "en-US" = "en - US" datatype = "OPE" original = "orphan.xlf" product-version = "orphan.xlf" - name of the product ="" > "

    Here is a summary of our java implementation class:

    Processor FOProcessor = new FOProcessor();
    processor.setData (sXmlDataFilepath);
    processor.setTemplate (sXslTemplateFilepath);
    processor.setOutput (sPdfOutputFilepath);
    processor.setOutputFormat (FOProcessor.FORMAT_PDF);
    processor.setLocale ("en - US");
    xInputXlfLang = new FileInputStream (sXlfLangFilepath);
    processor.setXLIFF (xInputXlfLang);
    try {}
    Processor.Generate ();
    }
    {} catch (XDOException e)
    e.printStackTrace ();
    }


    (variables beginning with "s" are path + names passed as arguments)


    The output PDF file is well generated, but not translated in French!

    (1) I missed something?
    What is wrong in my code or my XLIFF file?
    Y at - it a parameter to pass to allow the XLIFF translation (via setConfig)?
    With "setLocale" we indicate the target language, but how BEEP knows this current language is "en-US"?

    I found a few posts on the subject, but none with a clear solution. So if I managed to solve this problem, I think it can be very useful for many developers.

    Thanks in advance for your help.
    K.Helali

    Edited by: K.Helali Apr 26. 2010 01:56

    Hey,.

    I know what you're talking about.

    Do not make the rtf-> xsl in the office.

    Do it in java code.

    Use RTFprocessor, for her, just set the model and set the true extractxliff.

    move the xsl foprocessor.

    to do this

    (1) in the BEEP for MS Word
    1 - a) build the RTF model
    1-c) extract texts translateable to the XLF file

    (2) in BEEP Server (Linux Redhat, BEEP 5.6.3) included with the Oracle Applications 11.5.102
    (2 - a) write a java class that implements class FOProcessor (see code in my first post)
    I'm passing to the FOProcessor class
    -XML data file
    model model XSL - export RTF, file to the XSL using RTFprocessor file save it sub - (here in rtfprocessor.setextractXlifff - true)
    http://download.Oracle.com/docs/CD/E10415_01/doc/bi.1013/e12693/Oracle/Apps/XDO/template/RTFProcessor.html
    -Translation (via the FOProcessor.setXLIFF method) XLF file

  • problem installing with berkeley db java api

    Hello
    I have a problem to start Berkeley db 4.7 with java api.
    I followed the installation procedure described here http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_unix/intro.html
    and provided the - enable-java option during configuration.
    I've also updated the following configuration on the file .bashrc in the linux machine

    export CLASSPATH=/usr/local/BerkeleyDB.4.7/lib:$CLASSPATH
    export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.7/lib

    When you try to run the sample db. AccessExample (which is packed with berkley db) I get the following error:

    Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/BerkeleyDB.4.7/lib/libdb_java-4.7.so: /usr/local/BerkeleyDB.4.7/lib/libdb_java-4.7.so: evil class ELF: ELFCLASS64 (Possible cause: incompatibility of width for the word architecture)

    The linux machine is a 64-bit computer java-version gives:
    Java version "1.6.0_03".
    Java (TM) SE Runtime Environment (build 1.6.0_03 - b05)
    Java hotspot Server VM (build 1.6.0_03 - b05, mixed mode)

    How can this problem be fixed?
    If it is related to 32 bit or 64 bit issues, is there a way to compile the berkeley db code with different config params?

    Thank you!

    Hello. -m32 is an indicator of compiler, you can tell BDB that signals to use by setting CFLAGS for configuration stage. There is a documentation on how to do it here:
    http://www.Oracle.com/technology/documentation/Berkeley-DB/DB/ref/build_unix/flags.html

    Ben Schmeckpeper

  • Help! WMS and java api

    Hi!, I am a newie on oracle, and I use mapviewer with java api, but I have problems with the addWMSMapTheme function:

    VSP of the Object = new Object [] {new String() {"DATASOURCE", "example"}, new String() {"antialiasing", "true"}};

    mv.addWMSMapTheme ("wmstheme", "http://onearth.jpl.nasa.gov/wms.cgi?", "false","1.1.1","BMNG","default","EPSG:4326","image/jpeg","false","0xFFFFFF","application/vnd.ogc.se_inimage", vsp);

    It returns an exception (which is does not define the vsp object).

    should I use the xml query? How can do it?

    Hello
    You can use the API which generates and transmits the card application to MapViewer. Your vsp setting seems strange. Here is an example of code that use the MVDEMO dataset, just to give you an idea of the vsp parameter definition.

        mapViewer.setImageFormat(MapViewer.FORMAT_PNG_URL);
        mapViewer.setDataSourceName("mvdemo");
        mapViewer.setCenterAndSize(-70.,44.,20.);
        mapViewer.setMapTitle("WMS");
        mapViewer.deleteAllThemes();
    
         Object []vsp = new Object[]{new String[]{"DATASOURCE", "mvdemo"}  };
    
         mapViewer.addWMSMapTheme("wms_theme", "http://localhost:7001/mapviewer/wms",
                                  new String[] {"THEME_DEMO_STATES"}, new String[] { "asdf"},
                                  "SDO:8265", "image/png","0xffffff", vsp);              
    
         System.out.println("Current request: " + mapViewer.getMapRequestString());
         boolean response = mapViewer.run();
         if (response)
          {
              double[] mbr = mapViewer.getMapMBR();
              System.out.println("mbr="+mbr[0]+","+mbr[1]+" "+mbr[2]+","+mbr[3]);
              System.out.println("URL: " + mapViewer.getGeneratedMapImageURL());
          }
    

    For you case, make sure the WMS server at http://onearth.jpl.nasa.gov/wms.cgi? is running and accept queries. I tried a GetCapabilities request to this server and received an exception message that the system was overloaded and not processing requests.

    João

  • problem with java and pogo games

    I use mozilla, and now with the problems with java and hackers cannot play my pogo, what can I do? I disabled my java I tried java 6 does not work or is not safe, what is a safe way to play games on pogo using java?

    Pogo.com is determined as a website SAFE to use Java with Mozilla Firefox?

  • Is it possible to create stand-alone programs of java with java ME 8

    Hello

    Java ME compare to java SE, I feel that midlets are similar to applets.

    When you work with java, I generally stand-alone programs.

    Now, I wonder if it is possible to also create stand-alone programs for java ME, if classes are only using java ME API.

    I already noticed that netbeans does not build a project that does not contain a moped, but perhaps, it is possible to create a jar file

    using the command javac and jar. Or y at - it specific a reason why netbeans does not generate a project without midlets?

    The reason for the request is that I often make small tools in java that ae so called from a script of linux. I guess this could be useful on the invoice pro forma raspberry as well.

    Thanks in advance

    Jef

    Hi Jef-

    Java ME compare to java SE, I feel that midlets are similar to applets.

    Sort of - similar life cycle methods - if on a conceptual level, Yes.

    Now, I wonder if it is possible to also create stand-alone programs for java ME, if classes are only using java ME API.

    In a way, Yes. If you build a project, you will notice a file JAD and JAR files in the project's dist directory.  JAD is the descriptor to a MIDlet - in mobile devices, the JAD

    file is loaded first to determine if the MIDlet has enough privileges to load and run, before the corresponding JAR file is downloaded.

    However, the JAD file can also be included in the manifest of the JAR and copied to the device manually embedded JAR and run there.

    I already noticed that netbeans does not build a project that does not contain a moped, but perhaps, it is possible to create a jar file

    using the command javac and jar. Or y at - it specific a reason why netbeans does not generate a project without midlets?

    You can create JAR files and include them in embedded Java ME projects, but just like cmdlets, use the system (EMS) demand management IP of raspberry, you have a moped to run.

    Perhaps mean you that you do not want to launch the AMS and load a moped from the command line on the invoice proforma?

    If so, take a look at this section of the Getting Started Guide for the Raspberry Pi.

    Tom

  • 20.0 unusable. Each click generates a Java pop up, even with Java disabled error.

    JavaScript application ' error: missing (after for) "pop - up occurred during every change of page, sometimes 2 or 3 on the other. Even with Java removed or disabled. Even with the blocker on. Browser reinstalled several times.

    Hello, you can try to reproduce this behavior when you start firefox in safe mode, once? If not, perhaps an addon intrudes here...

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

  • When I start my online banking, the options do not load. I get a message that the applet is not started because it has not been initialized (I think it has to do with Java). What should I do?

    I go on my site of the Fund and go to my accounts. And I can get into my account. But the menu that allows you, among other things, go to the online banking is not. Keep it from the page it says "start applet" and then immediately "uninitialized applet." How as it initialized? I think, but am not really sure that it has something to do with Java.

    To see if you need an update to the Java plugin, see the Oracle here test page:

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

    Who help me?

  • Problems with Java games Sites

    I have java installed on my computer, when I go to the gaming sites they say I don't have it. Their site brings me to the Java site for re install I have. I do and I still get the same results. Frustrating. I did the Java offline also and that no longer works. I checked that it is also enabled.

     

    Hello

    It seems that you are facing problems with Java during the visit of the gaming sites.

    1. This problem occurs on all the gaming sites?
    2. Other sites work well?
    3. What is the operating system installed on the computer?

    You can Remove all existing versions of Java on the computer and reinstall the last being. We know the result.

    Also see this link for more information.

    Thank you.

  • Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Downloaded and paid of Minecraft and having problems with Java, Anti Virus Scan and Windows Update - error code 800F081F

    Would you advice, thank you.

    Hi Hugo,.

    1. what anti-virus software you have installed in the computer?

    2. What is the full error message/code?

    3. the issue occurred after you install Minecraft?

    4. are you able to play Minecraft without any problem?

    5. what happens with Antivirus and Java?

    Windows Update can occur if one or more of the following conditions are met:

    1. the Windows Update database is damaged.

    2. antivirus software is configured to scan the %Windir%\SoftwareDistribution folder.

    3. the service (BITS) Background Intelligent Transfer Service does not receive a content link header.

    4. a required system file is incorrectly registered.

    5. Windows Installer has encountered an error.

    6. the manifesto of component maintenance (EC) is damaged.

    7. the Windows Update service has stopped during the installation.

    8. a version of the file conflict exists with Windows Update agent files.

    Please follow the steps described in the methods to solve the problem:

    Method 1: We will try the steps from the following link and check the result:

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article:http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058?WA=wsignin1.0

    Method 2:

    To correct the errors that occur when you use Windows Update, install, and run the system update readiness tool. The tool analyzes inconsistencies on your computer and fixes as its current installation.

    You can view the following link to download the system update readiness tool and check:

    System tool update that corrects problems of Windows Update is available for Windows 8, Windows 7, Windows Vista, Windows Server 2008 R2 and Windows Server 2008

    http://support.Microsoft.com/kb/947821

    Details of the event log to find what caused the Antivirus and Java to fail:

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    Hope that the information provided is useful.

    For any help related to this problem or any question of Windows, you can still display in the Microsoft Community Forum!

  • With the help of EQ with Java 7 Workgroup Manager

    Oracle is declining in favour of Java 6. How can I get Bishop Grp to work with java 7? I have a 5000 PS to fw version 6.02.

    Thank you.

    It's something on the browser side OS.   What browser do you use?  The Web page sees that it is a java applet and call Java Runtime on the host computer.

    I would like to clear the cache from my browser and java and try again.

  • Is - this windows 7 comes with java?

    Windows 7 comes with Java?

    I read somewhere that it is, and I know for certain that windows vista does.

    I know how to install java (java.com/getjava).

    I had 6 JRE Java running on vista, but now that I've upgraded to windows 7, it seems that I have no JVM at all.

    No, Windows 7 includes not Java, you'll have to download it from the site Web of SUN Microsystems.
    How do I manually download and install Java for my Windows computer? Andre Da Costa http://adacosta.spaces.live.com http://www.activewin.com

  • Yahoo Sitebuilder will not work with Java 7.

    I have been using Yahoo Sitebuilder for years without any problem.  Now that my system (Windows 7) updated for Java 7 Sitebuilder doesn't work anymore.
    I uninstalled Java 7 and re-installed Java 6.  This seems to fix the problem for a day, then Java itself once more updated Java 7 and I have the same original problem with Yahoo Sitebuilder.  BTW... it says on the site of Sitebuilders that is compatible with Java 7 and yet when you download the new version of Yahoo Sitebuilders, Java 7 is installed.   Can someone help me?  I need to update my site.
    Thank you

    Hi Mary,

    I suggest you contact the Yahoo Support for assistance on this issue.

    Using Yahoo! SiteBuilder

    Customer support

    It will be useful.

  • cibyl with Java for BlackBerry

    Hello

    I am interested in creating an application for BlackBerry that uses a C/C++ API, because society is too lazy to create a Java API for their product - but is it possible that I can use cibyl to work in conjunction with a C API?

    Also, does anyone know if BlackBerry is supported audio Vorbis?

    EDIT: Referring to: http://code.google.com/p/cibyl/

    I see. BlackBerry is always J2ME only.

    If you have a C library that you want to use with the program you're talking about, you need to use cibyl to convert that POT. But then it should work once converted to a COD file (since the JAR would support J2ME and BlackBerry).

    If the question is to know how to use a C library with the app, which would seem more like a partner cibyl issue I have no experence with.

  • Problem with opening files and demand, everything opens with Java.

    I think I clicked the wrong application to open a file and now all the application and the files are open with Java (TM) Platform SE binary.

    And now I do not know how is back to normal.

    Please help me with this problem.

    Hello

    This should help you.

    'Restore. Association of exe in Windows 7/Vista after incorrectly associating it with another program"

    http://www.Winhelponline.com/blog/restore-exe-file-Asso-Windows-7-Vista-incorrectly-associated/

    "When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program.

    Run the Mr.Fixit here or you can use the manual method it y to correct yourself

    http://support.Microsoft.com/kb/950505/en-us

    And also, read information please.

    'Change the programs that Windows uses by default'

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

    See you soon.

Maybe you are looking for

  • Cannot send Mail from Gmail in Thunderbird

    I downloaded Mozilla Thunderbird, is the most recent version. I can receive mail, but cannot reply or send. I use a Mac mini, Mac OS X 10.10.1. A screenshot with the error code is attached. Help is very appreciated! -Jon

  • IOTech use for tiara in Windows 7

    Hi all... I use IOTech 650U, eZ-analyst for the acquisition of vibration data and DIAdem 2012 for post-processing and analysis. I used IOTech use to import the .dsc files in DIAdem. This is all on Windows XP. We will run Windows 7 64-bit. My question

  • When I send pdf files the recipients using aol receive a file "WinMail" they can't open.

    When I send pdf files the recipients using aol receive a file "WinMail" they can't open. I have my mail format HTML the value and we tried also plain text without change.

  • Automation server can't create object 0 code

    attempt to send 123greetings ecard. implementation error. Automation server cannot create the object.  code 0

  • How to record voice on SRP500 configuration

    Hello I work at an ISP, and I recently bought series Cisco Small Business SRP500. In my opinion, it works very well for small business, but I want to save a configuration file, so do not to lose a lot of time every time that I set them up for custome