Creation of posts of Siebel using JAVA API in IOM

Hi Experts,

I need to create positions of Siebel using JAVA API.

I try to incorporate OIM 11 g-Siebel connector, but this connector is not able to create new positions of siebel.

Please tell me where to find the info/examples of use of the api or how to best integrate?

Thanks in advance

Kiran

This is useful.

I was able to create a post of siebel using the model given here,

Creating New position in Siebel using Siebel DataBean

Tags: Fusion Middleware

Similar Questions

  • Search for users using java API IOM 11 with the value of null field

    Hello

    I find user using java api findUsers (HashMap hash), but I need get all users where a custom field is equal to null

    Example:

    HashMap userHash = new HashMap();
    userHash.put ("USR_UDF_CUSTOM", "NULL");
    userData tcResultSet = userOps.findUsers (userHash);

    Someone help me?

    Do not use this search functionality. The user that:

    UserManager usermgr = Platform.getService (UserManager.class);
    Criteria of SearchCriteria = new SearchCriteria ("Custom Label", null, SearchCriteria.Operator.EQUAL); Suppose USR_UDF_CUSTOM label is personalized
    List of users of = usermgr.search (null, null, criteria);
    for (user: user) {}
    perform the action here
    }

    -Kevin

  • Applications using Java API 11 g MRI are precarious?

    Hello

    I was reading "Developers Guide for Oracle 11g IRM server" and I found this:

    Cryptography keys: an application that uses the Java API of MRI has the ability to get sealed content Cryptography keys. The MRI Java API stores these keys in memory of the calling process, so that they are used. The MRI Java API debugging, or do a memory dump could compromise the key material. Do not use MRI Java API if the environment in which the application runs is loose or not reliable (for example, a laptop).

    HotFolders and IRM Wrapper using MRI Java API, aren't they? Does this mean that these applications are not secure? I install these applications in a real environment. However, provide advice to guide doubt me.

    Thanks in advance.

    The documentation is currently fairly conservative.

    Re: Hot issues. If HF is configured to use the Java API, then it is true that the keys will be temporarily stored in its memory and Java is more susceptible to reverse engineering, say, C++. But the hot issues in use of production will generally be an application on the server side and not work on laptops to the end user. So the access to this application of HF running (and its own encrypted cache) can be fixed by using normal operating system access controls. If you are always worried about it, then do not use the API, use default web services. In this case no key material is always sent to the HF and all the sealing is made by the IRM server.

    Re: Wrapper. It does not use the Java API if never receives or hiding of key material.

    HTH,

    Martin

  • Numbers that come out to "1n7" instead of "1.7" when you use Java APIs

    I have an RTF template, and on the text in Word form field Options dialog box, I Format rule number field on "#, # 0.00000. When this model will be run in a concurrent program, or from the plug-ins office, numbers to format correctly in the form "1.7". But, when I run with a model with the Java API or the viewer of documents common region in the OPS, the numbers are formatted in the form "1n7". I get a "n" instead of a ".".

    Any ideas on what could be the cause?

    My calling code is below.

    Thanks in advance,
    Kurz
    OADBTransactionImpl oadbTrx = ( OADBTransactionImpl ) pageContext.getApplicationModule( webBean ).getOADBTransaction();
    DataTemplate dt = new DataTemplate( oadbTrx.getAppsContext(), "XXCUS", "XX_CNQCBSR" );
    ByteArrayOutputStream bos = new ByteArrayOutputStream();
    Hashtable htp = new Hashtable();
    htp.put(
         "P_AUCTION_HEADER_ID",
         this.auctionId
         );
    dt.setParameters( htp );
    dt.setOutput( bos );
    dt.processData();
    
    DocumentHelper.exportDocument(
              pageContext,
              "XX",
              "XX_CNQCBSR_MAIN",
              "en",
              "US",
              new ByteArrayInputStream( bos.toByteArray() ),
              "PDF",
              null
              );

    Maybe check the value of the profile option "ICX: numeric characters?

  • Create the new virtual machine using Java API vCloud

    Hi guys,.

    I am trying to create the new virtual machine in TIME, but I've stuck here. The API I'm using is vcloud-java-sdk - 1.0.jar.

    Could you please show me a code snippet how to do this?

    For now I do it like this:

    RecomposeVAppParamsType recomposeVAppParamsType = new RecomposeVAppParamsType();

    List the items < CompositionItemParamType > = recomposeVAppParamsType.getItem ();
    ReferenceType vappTemplateVMRef = new ReferenceType();

    // ??? seems that new reference to the new virtual machine should be here. But how to create this VM
    CompositionItemParamType compositionItemParamType = new CompositionItemParamType();
    compositionItemParamType.setSource (vappTemplateVMRef);

    Items.Add (compositionItemParamType);
    ReferenceType vAppRef is Vdc.getVdcByReference (vcloudClient, vdcRef) .getVappRefByName ("vApp_Websrv");.

    Vapp.getVappByReference (vcloudClient, vAppRef) .recomposeVapp (recomposeVAppParamsType);

    One day before I played with Web Services SDK, which is much easier to understand. I was able to create the vApp and VMs in vSphere. Is it possible to import machines virtual vSphere to vCloud? Should what API I use for this?

    Thank you

    Hello

    You cannot add a new empty virtual machine in a paralytic.

    Instead, you can add a virtual machine from an existing vapp, vapptemplate.

    To import a vsphere vm to vcloud.

    Import vsphere vm as VAPP in vcloud. VMWVimserver-> importVmAsVApp()

    The importation of vsphere vm, as vAppTemplate, in vcloud. VMWVimserver-> importVmAsVAppTemplate()

    See also the example of ImportVmAsvAppTemplate.java, which is part of the vcloudjavasdk group.

    Kind regards

    Rajesh Kamal.

  • Error with TaskSearchFilter using Java API by calling custom

    I created a Java component customized for use in LC process Mgr.

    On invoke the process containing the component, the component will fail with the following message:

    2011-02-28 16:28:31, 260 ERROR [com.adobe.workflow.AWS] cannot force the object: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter@cf7e441 type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter of the class

    Code is pretty basic:

    ServiceClientFactory myFactory = ServiceClientFactory.createInstance ();

    TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager (myFactory);

    TaskSearchFilter filter = new TaskSearchFilter();
    filter.addCondition (TaskSearchingConstants.pSTATUS, Operator.EQUALS, "3");

    The list of result < TaskRow > = queryManager.taskSearch (filter);

    Error seems to happen with the creation of the list. This code works fine when run as a standalone file in Eclipse or Netbeans, but not in the component.

    All required jars are included and are listed in the component.xml class path.

    Someone at - it ideas?

    Thank you

    David

    Looks like a problem of ClassLoader.  Usually this is caused by the presence of a class (TaskSearchFilte) in your component on the server.   In other words, there are two copies of the class of TaskSearchFilte - yours and already in LiveCycle - and they are in conflict.

    If this is the case, the solution is simple:

    • remove the jar files containing the TaskSearchFilte (and LiveCycle customers) jar of your device file.  You may need in the way of construction, so your code can compile - but you don't need them in the jar of the final element.
    • remove references to these jars of the class-path of the component.xml file entry
    • Add a section import-package to your component.xml file.  This will not reference the jar files, but the package names.  For example:

    com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter

  • Set the member formula using java api

    Hello

    I'm trying to define the formula by member using the java code and here is the code snippet I use. But some how, the formula is somewhere in cache, but not updated in the server of the ESS. I have appropriate privileges to update the data in Essbase. Any thoughts would be helpful. Thank you.

    try {}

    IEssCube = formulaCube

    olapSvr.getApplication (appName) .getCube (cube);

    IEssCubeOutline outline = formulaCube.openOutline (false, false, true);

    If (contour! = null) {}

    IEssMember requiredMember = outline.findMember (member);

    If (requiredMember! = null) {}

    System.out.println ("formula:" + requiredMember.getFormula ());

    requiredMember.setFormula ("[RL. LTV. CSE] + [RL. LTV. OPEX.0071]");

    System.out.println ("value according to formula:" + requiredMember.getFormula ());

    requiredMember.refreshPropertyValues ();

    requiredMember.updatePropertyValues ();

    System.out.println ("after updatevalues:" + requiredMember.getFormula ());

    }

    Outline.Save ();

    Outline.Verify ();

    outline.updatePropertyValues ();

    }

    It works if you restructure prior to closing.

    Outline.Save ();

    outline.restructureCube (IEssCube.EEssRestructureOption.KEEP_ALL_DATA);

    Outline.Close ();

    In theory, it should only do a restructuring outline only.

    See you soon

    John

  • Problem streaming of videos on Bold 9700 using java API but works on browser

    Hi all. I'm new to the BlackBerry development and having some problems streaming videos on the BlackBerry Bold 9700 by using RTSP.

    BlackBerry JDE: 5.0.0.14

    BlackBerry smartphone: BlackBerry Bold 9700 v5.0.0.296 (Platform 5.1.0.83)

    Streaming server: Darwin Streaming Server

    Connection: WiFi business

    File format: H264/3GPP/400 Kbits / s / 30 fps

    When I load the app in the BlackBerry device, it seems that nothing happens. But when I type the URL in the blackberry browser, he immediately start blackberry player and play the video.

    Here is a code snippet that I use:

    try {
          String videoFile="rtsp://172.24.7.115:554/dmc/3GPP_H264_400kbps_30fps.3gp";
          player = Manager.createPlayer(videoFile);
          player.start();
    } catch(MediaException me) {
    } catch (IOException io) {
    }
    

    I appreciate your help.

    Thank you.

    Your code does not work at least, because you tell the operating system to use the cell interface for access to the server that has a non-public IP address. You must add '; interface wifi ="at the end of the URL. This will tell the OS to connect via WiFi.

  • Change the shared user using Java API Service

    Hi Experts,

    I have successfully run the example of classes Java from here: http://docs.oracle.com/cd/E17236_01/epm.1112/epm_security_api/frameset.htm?ch01s03.html
    And I need to change the code of UserFunctions.Java.

    UserFunctions.Java, I can create, edit, and delete a user.
    But in this sample program, when I want to edit a user, I should create a new user first.

    My requirement is I want to change the existing user passing the parameter when you run the program.
    So, when I want to launch the program, it should be like this:
    Java UserFunctions 'method' 'username', 'password', 'email', 'first name', 'last name '.

    FYI, I can create a user in passing the parameter as I mentioned above.
    But to edit a user, I still can't do it.

    Please find my codes below:

    public CSSNativeUserIF createUser (String username, String desc, String firstname, String lastname, String email, String pass) throws CSSException
    {
    The user CSSNativeUserIF = null;
    HashMap context = new HashMap();
    user = cssDMAPI.getNativeUserInstance (context, main);
    user.setLoginName (username);
    user.setDescription (desc);
    user.setFirstName (firstname);
    user.setLastName (lastname);
    user.setEmailAddress (email);
    user.setPassword (pass);
    cssDMAPI.addNativeUser (main user, context);

    return the user;
    }

    ' public void modifyUser (String username, String desc, String firstname, String lastname, String email, String pass) throws CSSException
    {
    The user CSSNativeUserIF = null;
    HashMap context = new HashMap();

    System.out.println ("Edit description user...");
    user = cssDMAPI.getNativeUserInstance (context, main);
    user.setLoginName (username);
    user.setDescription (desc);
    user.setFirstName (firstname);
    user.setLastName (lastname);
    user.setEmailAddress (email);
    user.setPassword (pass);
    cssDMAPI.updateNativeUser (main user, context);

    }

    -------

    in the Sub main():

    If (method.equals ("create"))
    {
    / * Create a native user * /.
    cu.printMsg (System.out, "- creating a user-" "");
    user = cu.createUser (username, desc, firstname, lastname, email, pass);
    cu.dumpUsers (System.out, "the user is created successfully," new CSSNativeUserIF [] {user});
    }
    ElseIf (method.equals ("update"))
    {
    / * Change native user * /.
    cu.printMsg (System.out, "- update a user-");
    cu.modifyUser (user name, desc, firstname, lastname, email, pass);
    cu.dumpUsers (System.out, "the user is updated", new CSSNativeUserIF [] {user});
    }

    Could you please help me with this?

    Thank you and best regards,

    Christophe

    Try this

    CSSUserIF [] usrs to = cssAPI.getUsers (context, principal, sLoginName);

    If (usrs.length > 0) {}
    CSSNativeUserIF natUser1 = (CSSNativeUserIF) usrs to [0];
    natUser1.setLoginName (sLoginName);
    natUser1.setFirstName (sFirstName);
    natUser1.setLastName (sLastName);
    natUser1.setEmailAddress (sEmail);
    natUser1.setDescription (sDescription);
    natUser1.setPassword (sPassword);

    cssDMAPI.updateNativeUser (context, principal, natUser1);
    }

  • Creation of a right by using the API of the IOM - what is lookupkey for?

    Hello

    I try this code

    AppService = oimClient.getService (ApplicationInstanceService.class) ApplicationInstanceService;
    ApplicationInstance appInstance = appService.findApplicationInstanceByName("MyAppInstance");
    EntitlementService entSvc = (EntitlementService.class) oimClient.getService;
    Right ent = new Entitlement();
    ent.setObjectKey (appInstance.getObjectKey ());
    ent.setFormKey (appInstance.getChildForms () .get (0) .getFormKey ());
    ent.setFormFieldKey (appInstance.getChildForms () .get (0) .getFormFields () .get (0) .getFldKey ());
    ent.setItResourceKey (appInstance.getItResourceKey ());
    ent.setEntitlementCode ("MNEC2");
    ent.setEntitlementValue ("MyNewEntitlementValue2");
    ent.setDisplayName ("MyNewEntitlementName2");
    ent.setDescription ("MyNewEntitlementDesc2");
    ent.setLookupValueKey (1); have no idea what is it for
    ent.setValid (true);
    entSvc.addEntitlement (ent);

    code works very well, but what should be the lookupValueKey and what is it for?

    The whole process that is supposed to happen what OOTB is the following:

    1. on a child table form, a field is marked as right = True

    2. complete your research with right values (example is the scheduled task of searching Active Directory group Recon)

    3 run the scheduled task from the eligibility list.  This will check all the entries form entitled = true to retrieve the list of values and populates the ENT_LIST table with these values (or update new or define IS_VALID = 0 for all that you have removed)

    4. scheduled catalog synchronization task will fill the values in the catalog

    The key of research value is LKV_KEY value associated with an entry in the search.  This is what binds the table ENT_LIST in the LKV table.

    -Kevin

  • Citing RM via Java API for events

    Hello!


    When the audit function is enabled, LiveCycle Rights Management ES2 allows to control certain types of events, such as open doc or printed. We can see this information in the administration console of the LiveCycle.

    Is it possible to get these events using Java API in LiveCycle? Or I have to create a process of Workbench to obtain this information?

    Thanks in advance!

    Yes, you can use the API to get the events.  Here is a link to a part of literature around this...

    http://help.Adobe.com/en_US/LiveCycle/9.0/programLC/Javadoc/com/Adobe/LiveCycle/rightsmana gement/client/infomodel/Event.html

    Concerning

    Steve

  • custom at the request of task-java api

    Hello
    I use IOM view OID APIs.

    I changed the definition of Attr.Lookup.Recon.Map as: user id: employeeNumber (instead of user id: cn, where employeeNumber is an optional attribute of OID) now the employeeNumber is reconciled as UserID IOM... Into account other words for cn = xyz and employeeNumber = 199 OID is related to the UserID IOM = 199.

    I have a requirement as follows:
    I need to write a custom scheduled task that takes two parameters IOM user login (mean 199) and respective OID cn = xyz, and sets the State of the user as revoked OID resources.
    Suppose that for an IOM account, I have two instances of user OID with cn different values. I'll switch IOM user login and a value of cn to present schedule... and for the given connection of IOM user task... It will compare cn given with list of ad for this connection of IOM user. How can I get this list of ad (OID accounts) for a given account of IOM using java API

    See this, it's purely java:

    http://www.Java-tips.org/Java-SE-tips/Java.IO/how-to-read-file-in-Java.html

    http://www.roseindia.NET/Java/beginners/Java-read-file-line-by-line.shtml

  • 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

  • Caveat when using Mobile Server Java Api Java

    Hi, I have done some java applications to manage users, etc. for Mobile Server 11.3 pub point.  In the console I have use to run java code, I still got the message as:

    Butcher: WARNING: GENERAL: TID$ $ already exists for NomUtilisateur1, ignored

    Butcher: WARNING: GENERAL: TID$ $ already exists for the USER name, ignored

    These messages change depending on the task that I do.  I had the same programs with Olite 10 G java api and I did not have these messages.

    The messages I get are only WARNING and the operation I do work even if messages is displayed.  Does anyone know how to get rid of these messages?

    Thank you

    I found the problem.  I used the jar coming from the server instead of the jar from the MDK (Mobile Development Kit).  Using those to remove MDK all messages.

  • Using the record of decision in the Java API

    Hey all,.

    I work with an integration of Java of the OPA, and I'm curious to know how to exploit the record of decision by using the Java API for the information I'm after.

    Basic example:

    X = Maximum (A, B)

    In a record of decision, I see that A and B are used to determine X, but is there a way to know what is done with the API? I know its somewhere, I just need to get to work!

    Another example:

    X = (A - B) * C

    How can I retrieve what exactly happened in java using the API? Is this possible?

    Thank you!!!

    Dan

    Dan,

    Records of decision (code or xml) unfortunately do not go into that kind of detail. Records of decision describes what values are relevant and values assumed under influence, but they have no detailed calculation of information in them.

    It is not possible to do what you are trying to do.

    See you soon
    Frank

    Daniel Hager wrote:
    Hey all,.

    I work with an integration of Java of the OPA, and I'm curious to know how to exploit the record of decision by using the Java API for the information I'm after.

    Basic example:

    X = Maximum (A, B)

    In a record of decision, I see that A and B are used to determine X, but is there a way to know what is done with the API? I know its somewhere, I just need to get to work!

    Another example:

    X = (A - B) * C

    How can I retrieve what exactly happened in java using the API? Is this possible?

    Thank you!!!

    Dan

    Published by: frank.hampshire on April 10, 2013 10:42

Maybe you are looking for