Need to submit request for revoke using API

Hi,
I need to submit request for revoke application instance using the OIM API, so that once the request is raised OIM approvals should get trigger.
Could you please share some sample code to achieve this, I am able to raise the request for provisioning but facing issue while raising request for revoke.
Thanks.

Hi,
Refer this : OIMService (Oracle Fusion Middleware Java API Reference for Oracle Identity Manager)
Specify operation as RequestConstants.MODEL_REMOVE_ROLES_OPERATION
Reference : RequestConstants (Oracle Fusion Middleware Java API Reference for Oracle Identity Manager)
Thanks,
Pallavi

Similar Messages

  • Sample SOAP request for Data Loader API

    Hi
    Can anyone please help me out in giving a sample SOAP request for Data Loader API .This is to say import 1K records from my system to the CRM instance I have .

    Log into the application and then click on Training and Support there is a WS Library of Information within the application

  • How to submit request(Report+Template) using Shell Scripts?

    Hi Friends,
    How to submit request + Add layout using shell scripts..
    If anybody has sample code..Can you please send me to [email protected]
    Please help me..
    Its Urgent.
    Thanks and Regards,
    A Swain
    Message was edited by:
    SwainA

    Following is a package where the request is submitted and the layout is added.
    Also check iin the other way by adding the layout first n then giving the request.
    CREATE OR REPLACE PACKAGE BODY try
    AS
    PROCEDURE try_proc
    errbuf OUT VARCHAR2,
    retcode OUT NUMBER
    IS
    l_mode BOOLEAN;
    l_request_id NUMBER;
    xml_layout BOOLEAN;
    BEGIN
    fnd_file.put_line (fnd_file.output, 'USER_ID :' || fnd_global.user_id);
    fnd_file.put_line (fnd_file.output, 'REQU_ID :' || fnd_global.resp_id);
    fnd_file.put_line (fnd_file.output,
    'RESP_APPL_ID :' || fnd_global.resp_appl_id
    l_mode := fnd_request.set_mode (db_trigger => TRUE);
    IF l_mode IS NOT NULL
    THEN
    fnd_file.put_line (fnd_file.output,
    'Concurrent MODE Option is Success'
    END IF;
    -- if wrong paramters error recd give all 100 arguments as null
    l_request_id :=
    fnd_request.submit_request (application => 'app_short_name',
    program => 'shortname',
    sub_request => FALSE
    fnd_file.put_line (fnd_file.output,
    'Request_Id 1 is :' || l_request_id
    xml_layout :=
    fnd_request.add_layout (template_appl_name => 'SQLAP',
    template_code => 'CAPINEF01',
    template_language => 'en',
    template_territory => 'US',
    output_format => 'PDF'
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line (fnd_file.LOG,
    'Error in procedure package procedure :'
    || SUBSTR (SQLCODE, 1, 20)
    || ':'
    || SUBSTR (SQLERRM, 1, 250)
    END try_proc;
    END try;

  • Changing DN for GROUPS using API

    I have such code that I change GROUP attributes in OID with:
    ModPropertySet m=new ModPropertySet();
    Group mygroup;
    mygroup=new Group ( Util.IDTYPE_DN,groupName );
    m.addProperty(LDIF.RECORDCHANGE_TYPE_MODDN,"distinguishedname",newDN);_
    m.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_REPLACE,"displayname",newDisplayName);
    m.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_REPLACE,"description",newDescription);
    mygroup.setProperties(dirctx,m);
    The above piece of code works well if I exclude the line with distinguishedname or DN.
    otherwise it returns this exception:
    NamingException encountered in ldapModify [LDAP: error code 65  Failed to find distinguishedname in mandatory or optional attribute list]
    Interestingly, if I put a bad newDN there, such as "hello", (not in the form of cn= .. , ...) it says:
    NamingException encountered in ldapModify cn=tester,cn=groups,dc=pooyaco,dc=com: [LDAP: error code 34 - Invalid DN Syntax]
    My question is that whether I can change DN using APIs like this or not? and how?
    Thank you.
    Farbod

    To change the RDN or DN you will need a modRDN/modDN operation, and not a direct LDAP modify.
    For this you can use the Java JNDI API, see:
    http://java.sun.com/docs/books/tutorial/jndi/ldap/rename.html
    BR,
    Octavian

  • Down payment request for assets using bapi_acc_document_post

    Hi guys(girls)!,
    I<< priority reduced >>
    I'm posting a down payment request to an asset with a z program using bapi_acc_document_post. Everything is fine, but, when i go to fb03 to check the generated document i don't see the asset number associated to the purchase doc. When i go to bseg to check, i don't see the asset number and the subnumber. I lack just these to fields even i'm passing the values to correct fields in bapiacgl09.
    This is the values i'm passing:
    wa_acctgl-itemno_acc  =  iterator.
    wa_acctgl-gl_account  =  lv_skont.
    wa_acctgl-vendor_no   =  p_vendor.
    wa_acctgl-doc_type    =  p_tipdoc.
    wa_acctgl-item_text   =  p_txtcab.
    wa_acctgl-po_number   =  p_ponum.
    wa_acctgl-po_item     =  s_ekpo-ebelp.
    wa_acctgl-serial_no   =  imp_no.
    wa_acctgl-asset_no    =  wa_ekkn-anln1.
    wa_acctgl-sub_number  =  wa_ekkn-anln2.
    wa_acctgl-acct_type   =  'A'.
    wa_acctgl-CS_TRANS_T  =  '100'.
    wa_acctgl-asval_date  =  sy-datum.
    APPEND wa_acctgl      TO gt_acctgl.
    CLEAR wa_acctgl.
    Please help!.
    Edited by: Rob Burbank on Oct 24, 2011 9:44 AM
    Edited by: ramvargash on Oct 25, 2011 2:54 PM

    Hi Eduardo, what i'm trying to do is a down payment request for an asset. Indeed, i do the post. My problem is that the asset main number and the asset subnumber are not getting saved in bseg, so when i go to fb03 and double click on a line item, i got prompt to fb03 in visualize mode, and the fixed asset field is blank.
    I have now a week trying to get the asset main number and the asset subnumber getting saved in bseg. I note that i have other field that are not getting saved 'cause i'm not passing the value thru the bapi. This field is LNRAN.
    If you or anybody have a clue how to solve this, i would appreciate the help.
    Ramón Vargas

  • Do I need a C wrapper for my C++ API?

    I will be using LabVIEW to call a telemetry API.  There is a remote server which receives data and then relays it on to the clients.
    My LabVIEW program will be a client which communicates to the remote server using an API in the form of a .dll, I'll call it acquire.dll for the purpose of this conversation.  The programmer that maintains the server program and the acquire.dll does not want me to directly interface with the server via TCP/IP, he wants me to use acquire.dll to send arguments to the server and then receive data.  That way he can change the interface if needed without breaking my program.
    Acquire.dll has about 25 public functions.  It is written in C++, compiled with MS Visual Studio (2010 I think).  Acquire.dll searches the net for available servers, opens an object with the server, queries for a list of parameters available on the server, sends a list of parameters to acquire, gets calibration data from the server, reads data from the server, stops and resumes the read, and closes out the connection to the server when done.
    There are a few main read types.  I can tell the server to send data at a certain rate (up to 100 Hz), I can tell the server to send me a set of data every time it has a new value for a particular trigger parameter, or I can do manual polling where I just get the current values when I ask for them.
    Typical inputs are pointers to a null terminated string, bool, integers, float, double float, etc...
    Typical outputs are pointers to null terminated strings, integers, and pointers to binary data read by the acquire.dll. There is also a struct consisting of two integers.
    I am not a C or C++ programmer.  My programming experience is limited to LabVIEW and long ago, Fortran and VBA macros.  I do however have a couple C/C++ programmers available to me.  What is the best way to go about programming the interface?
    Can I directly interface with the C++ .dll?  Can I pass these data types directly into the library?  Can the import library function handle the inputs and outputs automatically, or would I need something like the MoveBlock function to read memory from pointers?  Can LabVIEW write my input data to ram and provide the dll with pointers to the strings and integers in a format that is compatible with C++ (null terminated)?
    Would I be much further ahead to write a C wrapper to interface to the C++ library?  Is it possible to get by without a wrapper?  Would the data types I mentioned be ok to interface with LabVIEW or should I be going for something simpler?       
    Any advice to send me down on a path towards success would be appreciated.  Unfortunately, my company would not allow me to share any of their code, so I am a bit on my own to sort this out.  I've been reading everything Ic an find on the topic and playing with all the examples I can find.  I am pretty certain that I will need a C wrapper to avoid issues with names decorations and the like.  I tried already to import my C++ dll and I can't see any of the functions.  So, at a minimum, it would have to be recompiled.
    https://forums.ni.com/t5/LabVIEW/Problem-making-a-C-DLL-in-Visual-Studio-2010-work-in-LabView/td-p/1...
    http://forums.ni.com/t5/LabVIEW/using-dll-class-based/m-p/452045 
    http://www.ni.com/white-paper/3056/en/
    https://decibel.ni.com/content/docs/DOC-9080
    https://decibel.ni.com/content/docs/DOC-9091
    -Chris.  

    If you can provide the function prototypes for the functions you want to call, that would help answer your questions with some specificity, and without your company revealing any of the logic. If that's still an issue, you can rename the functions and parameters. What's important is the datatypes.
    It sounds like your DLL only uses standard C datatypes (except bool, which is probably an integer). If so, then you don't need a C wrapper, because all the data types are ones that LabVIEW can already handle. The DLL programmer should declare all the functions as 'extern "C"' to avoid name mangling. Also make sure the C programmer didn't actually give you a .NET assembly or ActiveX component, which you could use in LabVIEW but through a different interface. That's a common reason why you can't see the functions you expect in a DLL.
    The Shared Library Import tool has improved and can handle many types of data, including some clusters/structures. Whether or not you'll need MoveBlock depends on exactly how the data is structured; there's no way to tell without more details. LabVIEW can definitely pass pointers to integers and strings to a DLL. For a block of arbitrary data, you'll need to allocate the array in LabVIEW (usually using Initialize Array) and then have logic in your LabVIEW code to interpret that data. You may need to swap endian-ness to get meaningful values.
    Again, if you can post actual function prototypes, even with the function and parameter names changed, that will make it possible to provide better help.

  • Getting error when rasing request in OIM using API

    Hi,
    I am getting the following error when I am trying to raise a request from outside OIM using OIM API's.
    Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/persistence/indirection/ValueHolderInterface
         at accesspolicycreation.createRequestWeb.getAttr(createRequestWeb.java:183)
         at accesspolicycreation.createRequestWeb.createRequest(createRequestWeb.java:124)
         at accesspolicycreation.createRequestWeb.executeCreateRequest(createRequestWeb.java:199)
         at accesspolicycreation.createRequestWeb.main(createRequestWeb.java:66)
    Caused by: java.lang.ClassNotFoundException: org.eclipse.persistence.indirection.ValueHolderInterface
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Please let me know how to fix this issue.
    Thanks

    Hi Rajiv,
    Thanks for the reply.
    I was able to solve the porblem by adding org.eclipse.persistence_1.1.0.0_2-1.jar in the classpath.
    Thanks

  • How to read approval tasks of a request in OIM using API ?

    Hi,
    Is there a way to read the approval tasks and the corresponding status using OIM API i.e., if workflow has two level of approvals, the approval tasks would be: 1. Manager Approval and 2. Role Owner approval ?
    I have been looking at the API docs. but it didnt help, all I could find is to read the stages and the status of each stage i.e., Request Level, Template Level and Operation Level?
    Thanks,
    Hrushikesh

    below link will help you to locate BPEL worklist API
    http://technology.amis.nl/blog/1496/invoking-bpel-worklist-api-from-remote-server-with-java
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10224/bp_worklistcust.htm

  • How to set default payment method for Supplier using API

    Hi All,
    I am doing data conversion and loading suppliers using ap_vendor_pub_pkg.create_vendor api. But, I cannot see any payment_method_lookup_code column in the RECORD type AP_VENDOR_PUB_PKG.r_vendor_rec_type.
    how do I assign a default payment method to a vendor ?
    Thanks
    Shankar

    Seems like an ER with Oracle Support.
    Bug 11895105: ADDING PAYMENT_METHOD_LOOKUP_CODE FOR AP_VENDOR_PUB_PKG.UPDATE_VENDOR_SITE
    Currently system doesnt allow you to update the PAYMENT_METHOD_LOOKUP_CODE in AP_VENDOR_PUB_PKG.Update_Vendor_Site.Because above column does not define in l_vendor_site_rec regardless other procedure.

  • Need to update drivers for to use my HDMI port

    For some reason, the HP support program will not update my video card drivers and I cannot use an HDMI cable to connect my DVD in my computer to my Samsung TV (not a smart TV).  The program to download updated HP drivers is also not working to download drivers and goes in an endless spin and never identifies the needed driver. Should I delete the support framework and reload it or use something else. 

    Hi:
    Based on the product number for your model, this is the only graphics driver available.
    AMD High-Definition (HD) Graphics Driver
    Version:8.900.7.1000Oct 20, 2012
    8.900.7.1000
    173.5 MB
    Oct 20, 2012
    File name: sp54992.exe
    If you want to see if the latest graphics driver directly from AMD works you can give this one a try...
    http://support.amd.com/en-us/download/mobile?os=Windows%207%20-%2064

  • Need a HP printer for private use,including letter printing, photo, scanner,

    June the 29th 2011
    URGENT  
    Can U recommend me a HP  printer, type HP Photosmart C4680 , or similar , using same ink 300
    Thank You ?
    Henry1905
    PARIS

    I too have an 8500 AIO (A909g), and in general I like it a lot. Have you tried using it to print directly on envelopes? I have not tried that personally, but it seems like the printer is capable of having multiple envelopes loaded at once for printing. Also, if you don't have it already, you can buy a 2nd tray for the 8500, so you can keep envelopes loaded in that tray, without needing to remove paper from Tray 1 all the time.
    Another option might be to get transparent labels and print on those, instead of printing directly on envelopes. I do that, and the finished product looks pretty smart.

  • Need help allocating partition for Windows using Bootcamp?

    Using Mac desktop and Boot Camp get to the step where I need to choose what size partition for Windows ver 7 and have tried all different sizes with no luck?
    Norm    

    normbenard wrote:
    Using Mac desktop and Boot Camp get to the step where I need to choose what size partition for Windows ver 7 and have tried all different sizes with no luck?
    Norm    
    "...have tried all different sizes with no luck" tells us nothing about what size you tried. If indeed you tried all different sizes then you don't have enough space. What size did you try? What happens when you try? What error messages do you get?

  • Comparing dates for equality using API

    Hello,
    I was wondering if you could help me understand if it is possible for me to compare two dates for equality.
    I am looking to only compare the date and the month. So, if I am checking "today" with another objects Date for equality, it obviously fails because the compareTo and the equals method of both Date and Calendar, I think, are comparing even the timestamps.
    here is something I wrote for testing, which obviously is of no use
    Calendar today = Calendar.getInstance();
    Calendar later = Calendar.getInstance();
    later.set(Calendar.HOUR, 03);
    System.out.println(today.getTime());
    System.out.println(later.getTime());
    if(today.equals(later)){
       System.out.println("BIG BANG");
    if(today.compareTo(later)<0)
       System.out.println("Today Date is Lesser than my Date");
    else if(today.compareTo(later)>0)
       System.out.println("Today Date is Greater than my date");
    else
       System.out.println("Both Dates are equal");   
    Date today = new Date();
    Date myDate = new Date();
    myDate.setHours(23);
    System.out.println(today);
    System.out.println(myDate);
    if(today.compareTo(myDate)<0)
       System.out.println("Today Date is Lesser than my Date");
    else if(today.compareTo(myDate)>0)
       System.out.println("Today Date is Greater than my date");
    else
       System.out.println("Both Dates are equal");   
       So is then the only way left, is using the simple date formatter and going about things ?

    package forums;
    import java.util.Calendar;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    public class CalendarExample
      private static final DateFormat DF = new SimpleDateFormat("yyyy-MM-dd");
      public static void main(String[] args) {
        Calendar today = Calendar.getInstance();
        Calendar later = Calendar.getInstance();
        later.set(Calendar.HOUR, 3);
        System.out.println("today="+DF.format(today.getTime()));
        System.out.println("later="+DF.format(later.getTime()));
        System.out.println("isSameDayAndMonth(today, later) = "+isSameDayAndMonth(today, later));
        System.out.println("\n");
        Calendar tomorrow = Calendar.getInstance();
        tomorrow.set(Calendar.DATE, tomorrow.get(Calendar.DATE)+1);
        System.out.println("today="+DF.format(today.getTime()));
        System.out.println("tomorrow="+DF.format(tomorrow.getTime()));
        System.out.println("isSameDayAndMonth(today, tomorrow) = "+isSameDayAndMonth(today, tomorrow));
        System.out.println("\n");
      public static boolean isSameDayAndMonth(Calendar a, Calendar b) {
        return a.get(Calendar.DATE) == b.get(Calendar.DATE)
            && a.get(Calendar.MONTH) == b.get(Calendar.MONTH)
    }You're welcome... Javas standard date libraries leave a lot be desired. I recommend you try Joda, which is [a long standing JSR, which has never gotten up|http://www.theserverside.com/news/thread.tss?thread_id=44248].

  • Just need a cheap printer for home use

    Can sombody suggest a cheap color printer (say around $50) that I can use at home to just print simple documents. I want something I can hook in to my Airport Extreme by USB, that will let me print from both a PC and a Powerbook running Tiger.
    I just bought a Lexmark Z735, and it doesn't seem to be at all Mac compatible. There are no Mac drivers, even on their website.

    Hi,
    I found a really great ink jet printer for you that will work with both Mac & PC. It is from Epson and only costs $59.99. The Epson Stylus C68 offers the perfect solution for fast, affordable home printing. You can print your simple documents as well as photos too. Visit this link to learn more:
    http://www.epson.com/cgi-bin/Store/consumer/consDetail.jsp?BV_UseBVCookie=yes&in foType=Overview&oid=58650440&category=Products
    I did check out the Lexmark Z735 and you are correct, there is no driver supported for the Mac. It is for PCs only.
    -Jason

  • HT201328 where should i submit request for my iphone 4 carrier orange uk?

    hey iphone 4 orange
    where do i submit network unlock request ?

    Since the carrier is the only one who can unlock an iPhone, you send it to Orange.
    Allan

Maybe you are looking for

  • Payment to  Customers via automatic payment run (Just like suppliers)

    Hi all, I do have a client requirement which is described below.  Thank you for reading my post and suggesting any solution. Customers made various payments in the past and those payments were cleared against invoices.  During this process which cont

  • New user for java (Data type conversion)

    Hi all, I'm the newer from JAVA, just start to learn it few weeks before, there have some problem about me. I want to konw how to change the data type ??For example, if I have a string call year and store the char "1", how can I change that field to

  • Purchase requisition release procedure through User-Exit

    Hi Workflow Guru, I have a requirement to configure purchase requisition workflow . the workflow should trigger through release strategy. The approver should determine through user-exit and the approver should determine based on value and quantity an

  • Elements 10 and Nikon D7100

    I just bought a Nikon D7100 and shoot raw. When I try to open a NEF file in Elements 10, I get an error message saying it's the wrong file type. Can I upgrade Elements 10 so that it will open the NEF files from the D7100? If not, will the newest vers

  • I am having problems with my java scrip and html, I don't know if it was me or not?

    java scrip was downloaded but I cant open anything with java, also my html is not reading write. I am not sure if I did something with the plug ins or add on. Oh ya I am running on a mac with mountain lion. Please Advise,