Reg: Java API

Hi all,
I am implementing webdynpro with MDM. To start with it i need to include jar files only or anything else is needed.
Regards,
Jyothi
Edited by: jyothi beera on Feb 12, 2009 11:58 AM

Hi jyothi ,
To work with Webdynpro java and MDM system you will need to MDM java api files .
These MDM Java Apis contain all the functions and methods to work with the Master data in MDM.through your webdynpro screens.
You will need to MDM Jar files to be deployed on your Web application server and NWDS to work with them.
All you need to so is make sure that you are deploying the correct jar files matching with your mdm server version else you might face errors  laters.
Uptill the SP05 version of MDM the apis were available as MDM4J.jar files but from the MDM SP06 version onwards they are the MDM JAVAP API.jar file.This file contains all the jars needed to work with MDM.
To know the compatible java apis to work with kindly follow the belwo link:
http://help.sap.com/javadocs/MDM/SP05/(Java api programs)
https://help.sap.com/javadocs/MDM/current/index.html  (java api codes)
http://help.sap.com/javadocs/MDM/SP06P2/index.html (Java Docs for SP06)
You can also refer the belwo link on MDM integration using Java api:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b02f4f88-7bbb-2a10-67ad-d435b9f0c643
Hope It Helped
Thanks & Regards
Simona Pinto

Similar Messages

  • Reg: Java API for MDM work flow

    Hi,
    I am using MDM java API (Version: 5.5 SP 06 Patch 2) for webdynpro. I am creating a record in MDM using MDM java API. Once the record gets created in MDM i need to call the MDM workflow. Is there any java API available to call the MDM workflow into webdynpro. If that is not possible, what is the alternative to call the MDM workflow into webdynpro.
    Kindly suggest.
    Thanks,
    Prasanthi.

    Hi Prasanthi,
    You need to use the three main classes to work with MDM Workflows
    1. RetrieveWorkflowTasksCommand
    2. WorkflowTask
    Both of the above classes are used to retrieve the current workflow tasks.
    3. WorkflowTaskAction
    4. WorkflowActionMenuNode
    Above classes tells the possible actions of the workflow task.
    You will find more information about the above classes in the Java docs
    I would still suggest to use UWL if you dont need any customization.
    Regards,
    Jitesh Talreja

  • How to create the groups in OID Using Java API.

    Hi,
    I need to create the group in OID Using Java API's only(i.e., javax.naming.* only).
    I need to achieve it without using any oracle specific jars.
    Is there any way to achieve it?.If there's a option to achieve it,do let me know.
    I also need to create the users in that group ,after creating it.
    If you share any useful link or ideas for the same would be great.
    Thanks
    Balaji

    bobws wrote:
    Hi,
    I want to find the installed JREs in windows using java. I couldn't fine any java API. So I am using the below code to fetch the JRE list from windows registries & parse the returned collection to know the installed JRE.Why? If you are running java you already have a JRE. So why not just use it?
    >
    String key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Runtime Environment";
    Runtime.getRuntime().exec(
    "reg query " + "\"" + key + "\"");
    Is it legal to retrieve the installed JREs in this way? Legal? It is OS specific, and to a certain extent dependent on vendor and what the vendor wants to do. Could also be impacted by permissions. Other than that it is ok.
    I am feeling like its a type of hacking. So I couldn't decide whether this is legal (recommended) way of using. Does anybody can answer me. I can see the similar posts in google. Somebody suggests this way & somebody suggests to use preference API which is similar to this. Appreciate your help.Preferences won't work. It doesn't allow access to the registry in general, only a part of it. There are discussions in the JNI forum about retrieving VM versions. Prior to actually using the VM though.

  • Req. Sample code for the Updation of Master record in MDM using Java API..

    Hi All,
    Can anyone provide me the same code for Updation of master record in MDM using Java API ??

    Hi SakthiNarayananD,
    You can additionally go through the following links to work with MDM and Java API:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2d18d355-0601-0010-fdbb-d8b143420f49  (Java API)
    http://help.sap.com/javadocs/MDM/SP05/(Java api programs)
    https://help.sap.com/javadocs/MDM/current/index.html  (java api codes)
    http://help.sap.com/javadocs/MDM/SP06P2/index.html (Java Docs for SP06)
    Reg: Using JAVA API - Search
    Re: Retrieving Drop Down List Value using JAVA API - Lookup values
    How to retreive records from Lookuptable of type flat - Lookup Values
    Reg: MDM with webdynpro - READ,INSERT,MODIFY
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Unable to raise password expiry warning exception in OID using JAVA API

    Hi,
    We are maintaing the user information for our application in OID(9.2). During logon, it is required that a warning is given to the user according to the value set in "Password Expiration Warning" parameter.
    A pl/sql program (using DBMS_LDAP/DBMS_LDAP_UTL packages) written to test password expiry raises the PWD_EXPIRE_WARN exception as expected. However we are unable to simulate the same using the JAVA APIs.
    We did try some thing like the following:
    public class SampleExpire {
    public static void main(String argv[])
    throws NamingException {
    // Create InitialDirContext
    InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx( "TCS-UUODC4",
    "4032",
    "cn=orcladmin",
    "welc0me" );
    System.out.println("Hello");
    // Create User Objects
    User myuser = null,
    try {
    // Create User using a subscriber DN and the User DN
    myuser = new User ( ctx,
    Util.IDTYPE_DN,
    "uid=C100013, ou=People, o=UUSD",
    Util.IDTYPE_DN,
    "ou=People, o=UUSD",
    false );
    catch ( UtilException e ) {
    * Exception encountered in User object constructor
    System.out.println("User creation failed");
    // Authenticate User
    try {
    myuser.authenticateUser(ctx,User.CREDTYPE_PASSWD,"Z100013");
    catch ( UtilException e ) {
    * Authenticate fails
    System.out.println("Authentication failed");
    } // End of SampleExpire.java
    The authenticate user does not raise any exception.
    Am I missing something ?
    Regards -
    Adhiraj

    Hi,
    did you manage to solve this problem? Please let me know

  • Unable to run the 9.3 JAVA API in "embedded" mode without APS installed

    <p>Hello,</p><p> </p><p>I'm trying to run the 9.3 JAVA API in "embedded" modewithout APS installed.</p><p> </p><p>I first used build Build <b>242</b> which was supplied with 9.3beta. This worked great and exactly the way I wanted to.</p><p>Now I'm trying to do the same with the production release of 9.3JAPI which is (to my knowledge) build <b>305</b>. With build 305I'm not able to connect to Essbase without APS installed.</p><p> </p><p>The reason I do not want to install APS is because I'm runningthe Java code from with an Oracle database (the JAPI jars areloaded into the database)</p><p> </p><p>Please see below loglines (running the sampleConnect.class):</p><p> </p><p><span style=" text-decoration: underline;"><b>Build 242 (whichworks ok)</b></span></p><p>Java(TM) 2 Runtime Environment, Standard Edition (build1.4.2_06-b03)<br>Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)<br>WARN [main]: - Time: Mon Feb 12 08:53:24 CET 2007, AnalyticProvider Services - Release 9.3.0.0 Build 242<br>Copyright (c) 1991-2006 Hyperion Solutions Corporation. All rightsreserved.<br>connection mode : EMBEDDED<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007, connection mode: EMBEDDED<br>essbase.properties: essbase.properties<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007,essbase.properties: essbase.properties<br>domain.db location: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007, domain.dblocation: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007,cluster.monitor.interval : 30</p><p>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: sign on (from user Administrator session number 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: get my analytics mode (from user Administrator sessionnumber 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: (from user '**aps_profile is Enabled**' session numberfalse)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: connect to olap service (from user Administrator sessionnumber 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: (from user '**aps_profile is Enabled**' session numberfalse)<br>Connection to Analyic server '10.130.60.78' was successful.<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: sign off (from user Administrator session number 5178)<br>Process exited with exit code 0.<br></p><p> </p><p><span style=" text-decoration: underline;"><b>Build 305 (whichdoes not work ok)</b></span></p><p>Java(TM) 2 Runtime Environment, Standard Edition (build1.4.2_06-b03)<br>Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, AnalyticProvider Services - Release 9.3.0.0 Build 305<br>Copyright (c) 1991-2006 Hyperion Solutions Corporation. All rightsreserved.<br>connection mode : EMBEDDED<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, connection mode: EMBEDDED<br>essbase.properties: essbase.properties<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007,essbase.properties: essbase.properties<br>domain.db location: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, domain.dblocation: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007,cluster.monitor.interval : 30</p><p>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: sign on (from user Administrator session number 68529)<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: get my analytics mode (from user Administrator sessionnumber 68529)<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: connect to olap service (from user Administrator sessionnumber 68529)<br>Error: Cannot connect to olap service. null<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: sign off (from user Administrator session number68529)<br>Process exited with exit code 1.</p>

    <p>Hello,</p><p> </p><p>I'm trying to run the 9.3 JAVA API in "embedded" modewithout APS installed.</p><p> </p><p>I first used build Build <b>242</b> which was supplied with 9.3beta. This worked great and exactly the way I wanted to.</p><p>Now I'm trying to do the same with the production release of 9.3JAPI which is (to my knowledge) build <b>305</b>. With build 305I'm not able to connect to Essbase without APS installed.</p><p> </p><p>The reason I do not want to install APS is because I'm runningthe Java code from with an Oracle database (the JAPI jars areloaded into the database)</p><p> </p><p>Please see below loglines (running the sampleConnect.class):</p><p> </p><p><span style=" text-decoration: underline;"><b>Build 242 (whichworks ok)</b></span></p><p>Java(TM) 2 Runtime Environment, Standard Edition (build1.4.2_06-b03)<br>Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)<br>WARN [main]: - Time: Mon Feb 12 08:53:24 CET 2007, AnalyticProvider Services - Release 9.3.0.0 Build 242<br>Copyright (c) 1991-2006 Hyperion Solutions Corporation. All rightsreserved.<br>connection mode : EMBEDDED<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007, connection mode: EMBEDDED<br>essbase.properties: essbase.properties<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007,essbase.properties: essbase.properties<br>domain.db location: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007, domain.dblocation: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007,cluster.monitor.interval : 30</p><p>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: sign on (from user Administrator session number 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: get my analytics mode (from user Administrator sessionnumber 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: (from user '**aps_profile is Enabled**' session numberfalse)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: connect to olap service (from user Administrator sessionnumber 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: (from user '**aps_profile is Enabled**' session numberfalse)<br>Connection to Analyic server '10.130.60.78' was successful.<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: sign off (from user Administrator session number 5178)<br>Process exited with exit code 0.<br></p><p> </p><p><span style=" text-decoration: underline;"><b>Build 305 (whichdoes not work ok)</b></span></p><p>Java(TM) 2 Runtime Environment, Standard Edition (build1.4.2_06-b03)<br>Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, AnalyticProvider Services - Release 9.3.0.0 Build 305<br>Copyright (c) 1991-2006 Hyperion Solutions Corporation. All rightsreserved.<br>connection mode : EMBEDDED<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, connection mode: EMBEDDED<br>essbase.properties: essbase.properties<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007,essbase.properties: essbase.properties<br>domain.db location: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, domain.dblocation: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007,cluster.monitor.interval : 30</p><p>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: sign on (from user Administrator session number 68529)<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: get my analytics mode (from user Administrator sessionnumber 68529)<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: connect to olap service (from user Administrator sessionnumber 68529)<br>Error: Cannot connect to olap service. null<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: sign off (from user Administrator session number68529)<br>Process exited with exit code 1.</p>

  • Get All group from LCES using Livecycle java API

    Hello ,
    Can anyone told me how i can retrieve all the groups that exist in my livecyle using JAVA API.
    Some method who return all groups ??
    Thanks!

    First Thank you for your answer
    I tried this part
    //Set connection properties required to invoke LiveCycle ES
                Properties connectionProps = new Properties();
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://test:1099");
                                                                      connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
                connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
                ServiceClientFactory scf = ServiceClientFactory.createInstance(connectionProps);
                DirectoryManager directoryManager = new DirectoryManagerServiceClient(scf);
                PrincipalSearchFilter psf = new PrincipalSearchFilter();
        psf.setPrincipalType(Principal.PRINCIPALTYPE_GROUP);  //Recommended - refines the search to a User or Group
        psf.setRetrieveOnlyActive(); // Recommended - returns only ative users/groups and not obsolete/deleted users/groups
        List<Principal> resultList = directoryManager.findPrincipals(psf);
        System.out.println("Done");
    and when I check the result of my list I find incomprehensible informations.
    So when I debug the code ,  my list  contains little information.
    NB : my LDAP contains hundreds of groups.
    Any suggestion
    Any code Source.

  • Java API to read the Encrypted Values from Windows Registry settings

    Is there any Java API to read the Encrypted Values from Windows Registry settings ?
    My Java Application invokes a 3rd party Tool that writes the key/value to windows registry settings under : “HKLM\Software\<3rdparty>\dataValue”.
    This entry is in BINARY and encrypted with 3DES, using crypto API from Microsoft.
    3rd party software to encrypt the data stored in registry it
    either uses C++ code: and uses the call “CryptProtectData” and “CryptUnProtectData” or
    If it is a .NET (C#) it uses the call “Protect” or “UnProtect” from class “ProtectData” of WinCrypt.h from the library “Crypt32.lib.
    Note: The data is encrypted using auto-generated machinekey and there is no public key shared to decrypt the Encrypted data.
    Since the data is encrypted using auto-generated machinekey the same can be decrypted from a .Net / C++ application using CryptUnprotectData or UnProtect() API of WinCrypt.h from the library “Crypt32.lib.
    To know more about Auto-Generated MachineKey in Windows refer the links below
    http://aspnetresources.com/tools/machineKey
    http://msdn.microsoft.com/en-us/library/ms998288.aspx
    I need to find a way in Java to find the equivalent API to decrypt (CryptUnprotectData) and Microsoft will automatically use the correct key.
    But i couldn't find any informato related to Java APIs to enrypt or decrypt data using auto-generated machinekey.
    Is there a way to read the encrypted data from Windows regsitry settings that is encrypted using the Auto-Generated Machine Key ?
    Kindly let me know if Java provides any such API or mechanism for this.

    If the symmetric key is "auto-generated" and is not being stored anywhere on the machine, it implies that the key is being regenerated based on known values on the machine. This is the same principle in generating 3DES keys using PBE (password-based-encryption). I would review the documentation on the C# side, figure out the algorithm or "seed" values being used by the algorithm, and then attempt to use the JCE to derive the 3DES key using PBE; you will need to provide the known values as parameters to the PBE key-generation function in JCE. Once derived, it can be used to decrypt the ciphertext from the Regiistry in exactly the same way as the CAPI/CNG framework.
    An alternate way for Java to use this key, is to write a JNI library that will call the native Windows code to do the decryption; then the Java program does not need to know details about the key.
    That said, there is a risk that if your code can derive the key based on known seeds, then so can an attacker. I don't know what your applicatiion is doing, but if this is anything related to compliance for some data-security regulation like PCI-DSS, then you will fail the audit (for being unable to prove you have adequate controls on the symmetric key) if a knowledgable QSA probes this design.
    Arshad Noor
    StrongAuth, Inc.

  • Which Java API could check the type of Operating System the JVM is running?

    Does anyone know which Java API could check the type of Operating System the JVM is running?
    thanks a lot!

    check out System class.
    regards
    shyamAnd specifically, the getProperty() method.
    - K

  • Performance of Java API 2

    Hello,
    we are currently using Java API 2 that comes with MDM 5.5 SP5 (Build 5.5.42.65) to read extended information from the mdm repository.
    Our process:
    We are export every product as a XML file over the MDM Syndicator and enrich this file with extended information from the API (This step is needed because we cannot export all data by the Syndicator, for example multilingual attributes / some product data like textblocks / id's for incremental updates ...).
    Actually the performance is really bad, we need ca. 10-15 secs to process one file, that is really frustrating when you have stored near 70.000 products in your repository.
    Are there some tricks to improve the performance or is the API really so slow? Or any better alternatives for an fast export?
    Thanks for your help ....
    Best Regards,
    Jan

    1 - If you are able to use the EJB connection with the LiveCycle SDK classes (you have are using a supported java version such as 1.5_xx, your network security doesn't prevent RMI calls, etc.) then that is your best bet.
    2 - Yes, you will need the java APIs to be accessible for your application. The LiveCycle APIs have remote EJB endpoints so you can access them from another server.
    3 - There are samples that ship with the LiveCycle server (located in your LCInstall\LiveCycle_ES_SDK\samples\Forms). There are also samples on the LiveDocs page at: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000064.html

  • Invalid Argument Exception on Java API's DB Close

    When closing the database via the Java API's close method, I am getting an invalid argument exception... how can this be fixed... subsequent access to the DB causes the JVM to crash??
    ERROR: An exception has occurred: java.lang.IllegalArgumentException: Invalid argument
    java.lang.IllegalArgumentException: Invalid argument
    at com.sleepycat.db.internal.db_javaJNI.DbEnv_close0(Native Method)
    at com.sleepycat.db.internal.DbEnv.close0(DbEnv.java:217)
    at com.sleepycat.db.internal.DbEnv.close(DbEnv.java:77)
    at com.sleepycat.db.Environment.close(Environment.java:39)
    at com.sleepycat.dbxml.XmlManager.closeInternal(XmlManager.java:301)
    at com.sleepycat.dbxml.XmlManager.delete(XmlManager.java:33)
    at com.sleepycat.dbxml.XmlManager.close(XmlManager.java:310)
    at com.iconnect.data.adapters.BerkleyXMLDBImpl.insert(BerkleyXMLDBImpl.java:827)
    at com.iconnect.data.DataManagerFactory.insert(DataManagerFactory.java:182)
    at Xindice2Berkley.main(Xindice2Berkley.java:99)

    I had the same problem. I could fix it by carefully calling the delete() function on all those DBXML Xml..xyz objects that you create when you perform queries etc. It seems that those Java objects have some 'shadow' object in the underlying DLL and by calling delete() you free resources that remain otherwise assigned (maybe somebody with a C++ background who programmed this stuff?). Call delete() before the Java object gets out of scope. For instance:
    results = mgr.query(collection,context,null);
    XmlValue value;
    try {
    while ((value = results.next()) != null) {
    XmlValue c = value.getFirstChild();
    String ref = c.getNodeValue();
    c.delete(); c = null;
    value.delete(); value = null;
    catch (Exception e) {
    finally {
    if (results != null) {
    results.delete();
    results = null;
    Once i did this on all possible dbxml objects i used in my code, the java.lang.IllegalArgumentException: Invalid argument disappeared.
    Message was edited by:
    user562374

  • Can i create more than one attributes for the custom class created using java API

    Hello everyone,
    I have been creating class and its attributes programatically using java APIs, I want to know that is there any way to create multipal attributs for the same class in just one call of API with all the options for each attributes,
    thanks

    You can create a new class and define all of the Attributes at the time the class is created - this is the preferred way of creating classes. Use the addAttributeDefinition() method on ClassObjectDefinition. If you need to add attributes to existing classes, you can only add them one at a time (using the addAttribute() method on ClassObject).
    (dave)

  • Replication of Berkeley DB Xml Edition with the help of JAVA API

    hi,
    i am trying to replicate berkeley DB to 2 other replicas.with the help of small program which along with its documentation(of chapter 3). And i'm using java API for the same(specifically replication framework program.)
    All necessary files are get created at host side like log files, dll files, db files. But at replica(client) side nothing get created. Host and clients are placed in the same network.
    But unfortunately its not working. don't know the reason. And its not giving any sort of error. And i dont know how to go ahead. Or is there any other way should i proceed with.
    So could you help me out to get rid of this problem.
    Thanks

    What compiler are you running?
    See this message and thread:
    Re: Problem after update to 2.3.8
    It may be necessary to apply the -fno-strict-aliasing flag to the Berkeley DB Java library as well.
    Regards,
    George

  • How to find bpel instance in 11g based on the index values using Java APIs

    Hi ,
    In SOA10G we had option to find the instances based on the index value using Java APIs like below.
    WhereCondition criteria= new WhereCondition(SQLDefs.CX_index_1 + " = ?");
    criteria.setString(1, "indexValue");
    Locator mLoc = getLocator();
    IInstanceHandle[] foundInstances = mLoc.listInstancesByIndex(criteria);
    Please tell me how to achieve the same functionality in SOA 11G using Java APIs
    Regards,
    Saba

    I have multiple bpel in my composite. I checked in ci_indexes table and it shows the instance number of the bpel process. But the em console is showing only the composite instance number. when I opened composite instance, I could see all the bpel process with instance number in the audit trail. How can I find the the actual composite instance number that I should search for in the em console ???

  • Bug report (and solution): adding multiple records through Java API in bulk

    I have found some bugs in the Java API (version 4.1.25) that makes it impossible to add mulitple values in bulk to a RECNO database. The fixes are as follows:
    MultipleEntry.java, line 80:
    "DbUtil.int2array(curr_off, this.data, pos);"
    should be replaced by
    " DbUtil.int2array(recno, this.data, pos);"
    MultipleRecnoDatabaseEntry.java, line 130:
    "return append_internal(data, doff, dlen, recno);"
    should be replaced by
    "return append_internal(data, offset, len, recno);"
    Regards,
    Johan Walters

    Hello,
    It looks like there were some corrections to this area in the post 4.1 i.e. 4.2 release. And I do not see these same issues in the current 5.1.25 release. If you do find them in the current release, just let us know.
    Thanks,
    Sandra

Maybe you are looking for

  • Key Reports for Customers (Follow-Up from P2P)

    Currently, we are working intensively on enhancing the reporting area in B1 and XL Reporter. Our ambition is to reach a situation where most of the required reports will be installed automatically. We would like to know your opinion about your prefer

  • Goods receipt for a Project Order

    Hi, I am trying to do goods receipt against a project order but getting the following error: Goods receipt for purch. order" is not allowed (WBS BUILDING CONSTRUCTION) I am doing this in order to book actual cost against a WBS element. Kindly Help. R

  • GR of subcontracting items without issuing  components

    Hi all I am facing a problem regarding subcontracting. In a PO of material X  (item category L (subcontracting)) of required quantity 10, a component Y quantity 50 to make X is to be given to the vendor. The problem I am facing is that I am able to p

  • Battery/ch​arger ENVY dv6 7210us

    I have an HP ENVY dv6 notebook PC, model 7210us, serial number: (Personal information removed), product number: C2M11UA#ABA BIOS: F.25, Processor AMD-A8-4500M APU. This notebook is about 2 years old. The problem is with the battery charging. Specific

  • PDFMaker icon not working in Acrobat Pro 8.3.1.

    I am using  OS Windows XP Home and Microsoft Office 2003. I generally use the work around of "Print". Annoying that I cannot use the PDFMaker icon in any Microsoft products. It use to work flawlessly. I keep getting the annoying message "The acrobat