Extending Modify Request OIM SPML Webservice

can you please help me with any document related to enabling OIM web serives to other applications for modifying attributes in OIM.
Modify Request it allows only OOTB default attributes i want to extend the schema for custom attributes. please let me know if have steps for it?

I could not find examples on the modifyRequest. SPML Attributes and LDAP Mappings, and Oracle Identity Manager Attributes does talk about custom attributes and the addRequest example seems to contain section for User Defined Field. You may want to post this question to the Identity Management (MOSC) support forum.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/

Similar Messages

  • Building WSDL client for OIM SPML webservice

    Has any one created WSDL client for OIM SPML webservice,
    Any help is appreciated.
    Thanks,
    Pandu
    old thread -->
    add udfs to spml prov. request to oim
    ==========================
    Hi,
    I am provisioning users in OIM from by sending spml requests
    I used the sample client that comes in xellerate directory.
    How can I update spml requests to include UDFs to create user in him with udf s.
    Thanks
    Pandu
    Edited by: pandu345 on Aug 5, 2009 3:27 PM

    Hello there,
    There is a .NET web service client which is successfully able to access the weblogic application server wsdl from oim 9101 and it can see the complete user profile as a response from the same.
    1.) Now, there is a situation where oim needs to send some attribute values to that .NET web service client, after the data from their side comes to OIM and updates a single attribute values for e.g. PIN. How can we do that ?
    2.) and I want to add some UDFs into the existing SPML provisioning user profile. How can I do that ?
    3.) Also, how will OIM know that it was able to successfully send the attribute values to the web service client.
    http://download.oracle.com/docs/cd/E10391_01/doc.910/e10360/creategtc.htm#Toc153968032
    I have gone through this. I didnt found this in OIM 9101.
    Any ideas/references/clues/hints appreciated in this concern.
    Thanks in advance,
    - oidm.

  • Character Encoding OIM - SPML

    Hello Forum,
    When I send a SearchRequest to OIM SPML Webservice, OIM returns this:
    HTTP/1.1 200 OK
    Server: Apache-Coyote/1.1
    X-Powered-By: Servlet 2.4; JBoss-4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)/Tomcat-5.5
    Content-Type: text/xml;charset=utf-8
    Transfer-Encoding: chunked
    Date: Tue, 31 Jul 2012 12:03:28 GMT
    <?xml version="1.0" encoding="UTF-8"?>
    <ns6:attr name="Users.Last Name" xmlns:ns6="urn:oasis:names:tc:DSML:2:0:core"><ns6:value>P&_#_x_F_3;rtal</ns6:value></ns6:attr>
    As you can observe, spml webservice seems that is using HTML Character Entity References for enconding "ó" (I had to underscore because of the interpretation of the browser it is &#xF3 ; ). This is causing me some headache with the other side integrators, that argue that messages are not coming in UTF-8 encoding.
    We mantain that the message is still UTF-8, but somehow there's being an encoding. ¿Is this normal?¿Do we have any misconfiguration in our environment?
    The most curious thing, is that SOAPUi on raw view of the response, shows the encoded data P&#xF3 ;rtal, but in the XML view shows "Pórtal", so SOAPUi is reencoding accordingly the data.
    Is it possible that the spml message contains "ó" instead of its HTML Character Entity Reference encoding?
    Thanks in advanced.
    Xisco.
    Edited by: user10084309 on 31-jul-2012 5:48
    Edited by: user10084309 on 31-jul-2012 5:51

    Sorry, in the example I gave, the none-english letters looks like this:
    &# 1490;&# 1497;&# 1488;(I made the space between the # and the number delibertly to prevent it from being presented as a letter ...).

  • SPML Client Modify Request

    Hi,
    I am trying to assign a user in OIM to a Role or group using the spml modify request webservice.
    I am creating a java procy for this webservice and then trying to invoke the same.
    I am not sure how to add membership to any role , i am trying with the following code. Please let me know if any one has already done the same.
          ((BindingProvider) port).getRequestContext().put(BindingProvider.USERNAME_PROPERTY,    
                                                                  OIMUSER);
          ((BindingProvider) port).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY,    
                                                                  OIMPW);
            ServiceHeaderType serviceHeader = new ServiceHeaderType();
            ModifyRequestType modReq = new ModifyRequestType();
            modReq.setExecutionMode(ExecutionModeType.ASYNCHRONOUS);
    //        modReq.se
    //        AddRequestType art = new AddRequestType();
    //        art.setLocale("en");
            Identity user = new Identity();
            MultiValuedString emailString = new MultiValuedString();
            emailString.getValue().add("[email protected]");
            user.setMail(emailString);
            ProvisioningObjectType pot = new ProvisioningObjectType();
            pot.setIdentity(user);
            Member member = new Member();
            PSOIdentifierType psoType = new PSOIdentifierType();
            psoType.setID("identity:505cf0daee022a41918851fb11f1a876");
            ModificationType mod = new ModificationType();
            mod.setModificationMode(ModificationModeType.ADD);
            CapabilityDataType capability = new CapabilityDataType();
            capability.setCapabilityURI("urn:oasis:names:tc:SPML:2:0:reference");
            capability.setMustUnderstand(true);
            oracle.iam.wsschema.model.common.pso.Member modsDataMember = new oracle.iam.wsschema.model.common.pso.Member();
            List<ReferenceType> modRef = new ArrayList<ReferenceType>();
            ReferenceType type = new ReferenceType();
            type.setTypeOfReference("memberOf");
            PSOIdentifierType rolePSOID = new PSOIdentifierType();
            rolePSOID.setID("E03CB5CBC5FE7E13E0400A0ABEB47C29");
            type.setToPsoID(rolePSOID);
            modRef.add(type);
            capability.getAny().add(modRef);
            modsDataMember.setIdentityPSOID("identity:505cf0daee022a41918851fb11f1a876");
            modsDataMember.setRolePSOID("E03CB5CBC5FE7E13E0400A0ABEB47C29");
            modReq.getCapabilityData().add(capability);
            modReq.setPsoID(psoType);
            mod.setData(pot);
            modReq.getModification().add(mod);
    //        pot.setMember(value);
            logger.severe("before  port.spmlAddRequest");
            ModifyResponseType response = port.spmlModifyRequest(modReq, new ServiceHeaderType());
    Please help with your solutions.

    Hi Pollicove,
    Thanks for your response. Yes I m using VDS 7.1 SP6. I tried the same code in different system, the SPML modification is working fine which is very weird.
    But now I m facing different problem with SPML search operation. I have a plain Java code acting as SPML client.
    When I do search I m getting below error in the response body.
    "<spml:searchResponse error="(MIC Identity store:82:ERROR:Incorrect syntax near '?'.)" requestID="A" result="urn:oasis:names:tc:SPML:1:0#success" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core" xmlns:spml="urn:oasis:names:tc:SPML:1:0"/>"
    If you check the query formation in VDS, it looks like below which is the root cause of the problem,
    "#1.5#C0000AC10EBD00070000002F270E32930004AAC32CBD22E0#1313655152780#com.sap.idm.vds.HeiSPMLTest.extension.main_listener_4389##com.sap.idm.vds.HeiSPMLTest.extension.main_listener_4389#######Thread[6,3,LDAP Sessions:main_listener_4389]##0#0#Debug##Plain###Together with basic template:SELECT $TOP$ mskey FROM mxi_values WHERE attr_id=(select attr_id from mxi_attributes where attrname='MSKEYVALUE' and is_id=?) AND (mskey in (SELECT mskey FROM mxi_values WHERE attr_id = (SELECT attr_id FROM mxi_attributes WHERE attrname='MX_ENTRYTYPE' and is_id=1) AND searchvalue  LIKE '*' ))#"
    Not sure why the IS ID is not passed. Do you have any idea what would the reason for this behavior.
    Thanks in advance.

  • SPML Modify Request failure

    Hi,
    I am trying to trigger a SPML Modify request with the modification mode as Add.
    But it always returns failure with an IAM # . No specifc reason as such.
    Can any tell me as how the request identifies the User for the which the modify needs to apply , Is it purely based on PSO ID? I tried passing in the PSO Id as identity:orclguid
    What is the value we need to pass for PSO id?

    Hi ,
    I use the OOTB SPML I suppose , I am totally new to this IDM .
    We are using OIM 11g .
    We have an usecase to create user and assign role to user from an externall application into OID , for this we are using the SPML webservice.
    SPML takes the PSO Id to identify the user , So I am not able to find the attribute which I could pass on.
    More over basic question , any resource I am created from SPML webservice , it creates a request in OIM and I am not sure how I can see the same in ODSM, So is this done by connectors and we need to have anconfiguration or mapping that needs to take care of the same?
    So using SPML is the right approach to provision users to OID (create User,Grant Role to User)
    I also do not see any Distingushed Name attribute in OIM , How wil the users i create using SPML go to the exact subtree I wish to insert. I am not able to find any docs which can help me , all the docs seems to be very generic
    Thanks,
    Robin

  • SPML Webservice OIM 11g - Urgent

    Hi All,
    I would need to create/update/delete user in OIM using SPML Webservice.
    Please help in providing the steps to do this.
    I have gone through the OIM11g documentation, but haven't got any steps to deploy webservice.
    It would be great if someone can provide sample code for this.
    Thanks in Advance,
    rag

    Any suggestions please..!!!
    Experts please reply...

  • SPML Webservice in OIM 11g

    Has anyone ever used SPML webservices in OIM 11g r1 or r2 ?
    My requirement is to invoke SPML webservice for creating a user from a third party application. pls help
    Can you please provide a working sample ?
    Thanks

    Has anyone ever used SPML webservices in OIM 11g r1 or r2 ?
    My requirement is to invoke SPML webservice for creating a user from a third party application. pls help
    Can you please provide a working sample ?
    Thanks

  • OIM SPML

    Hi,
    I am looking for the capabilities of OIM 11g SPML webservice but couldnt find the details. Can any one let me know if SPML webservice supports request based provisioning operation?
    Thanks in Advance.

    You can use OOTB SPML. Only issue with OOTB SPML is that it doesn't support reconciliations. You would need to add custom webservices for this.
    Regards,
    GP

  • Modifying request before approval

    Hello Friends,
    I want to allow modification to the request before Manager Approval. Once it is approved user/admin should not be able to modify request. how to achieve this. If have any sample code snippet, then please, give me.
    Thanks and Regards
    DB

    Buddy Your requirement is little bit complex. You want to give permission to modify Request i.e. form before manager approval but after manager approval you don't want this.
    I think it wouldn't be possible because you can give access to any group level not at user level.
    Even there's no API for updating these permissions of this form. Even if you get this API, it's not going to fulfill your requirement. Because it will update permissions for group. If in the meanwhile if some other user raise request then it will work differently for him and you can see undesired results.
    So may be if you go for its action classes then you can find some way.
    All I have written as per my understanding. There may be some other way, someone can update the thread.
    Anyways it's a nice requirement which showed me OIM Limitation.

  • How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ?

    Hiii all,
    How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ? In my case , i am researching and wanting to add,search,delete an user object request from Web Services Client to SPML webservice in VDS by SPML request. anybody has documents or tutorials please share to me.
    Thanks

    Hiii all,
    How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ? In my case , i am researching and wanting to add,search,delete an user object request from Web Services Client to SPML webservice in VDS by SPML request. anybody has documents or tutorials please share to me.
    Thanks

  • Error calling SPML webservice in OIM11g

    Hi
    I am getting the below error when I try to create user using SPML webservice.
    User xelsysadm does not have access to create the request using Create User With Callback Policy request template
    I was able to create user earlier using the same code. Not sure why I am getting this error suddenly.
    Any pointers?

    Hi
    I am getting the below error when I try to create user using SPML webservice.
    User xelsysadm does not have access to create the request using Create User With Callback Policy request template
    I was able to create user earlier using the same code. Not sure why I am getting this error suddenly.
    Any pointers?

  • Error while raising modify request for AD resource

    Hi,
    Getting below error in log, while raising modify request for AD resource, UI shows error while retrieving resource entity details.
    <Oct 19, 2011 2:15:45 AM CDT> <Error> <oracle.iam.requesttemplate.agentry.operations> <BEA-000000> <The "itresource-type" property is missing for attribute reference AD Remote Manager ITResource, which is of type itresource-lookup.>
    I verified the datasets for AD Remote Manager ITResource, comparing with our other environments. It is proper and we are not using AD Remote Manager ITResource anywhere.
    <AttributeReference name="AD Remote Manager ITResource" attr-ref="AD Remote Manager ITResource" type="Long" length="10" widget="itresource-lookup" required="false" available-in-bulk="true"/>
    Please let me know how to resolve this issue.
    Thanks in Advance.
    Edited by: 856226 on Oct 19, 2011 4:55 AM

    Hi,
    I think you should post this in an other forum, somewher in the Fusion stack, maybe Identy Management. This forums is ment for the Oracle database. So please post in a forum underneath https://forums.oracle.com/forums/category.jspa?categoryID=13&start=0
    Herald ten Dam
    http://htendam.wordpress.com

  • Getting error while raising modify request for AD resource in OIM11g

    Hi,
    Getting below error in log, while raising modify request for AD resource, UI shows error while retrieving resource entity details.
    <Oct 19, 2011 2:15:45 AM CDT> <Error> <oracle.iam.requesttemplate.agentry.operations> <BEA-000000> <The "itresource-type" property is missing for attribute reference AD Remote Manager ITResource, which is of type itresource-lookup.>
    I verified the datasets for AD Remote Manager ITResource, comparing with our other environments. It is proper and we are not using AD Remote Manager ITResource anywhere.
    <AttributeReference name="AD Remote Manager ITResource" attr-ref="AD Remote Manager ITResource" type="Long" length="10" widget="itresource-lookup" required="false" available-in-bulk="true"/>
    Please let me know how to resolve this issue.
    Thanks in Advance

    Hi,
    I think you should post this in an other forum, somewher in the Fusion stack, maybe Identy Management. This forums is ment for the Oracle database. So please post in a forum underneath https://forums.oracle.com/forums/category.jspa?categoryID=13&start=0
    Herald ten Dam
    http://htendam.wordpress.com

  • Extend/modify deadline in Acrobat Pro 8 shared document review

    Is it possible to extend or modify the deadline for an Acrobat Pro 8 shared document review?

    Christian,
    No it's not possible to extend/modify the deadline in Acrobat 8 shared reveiws. These features have beed added in Acrobat 9. In Acrobat 8, the reviewers can add comments even after the deadline has expired. The review file can however be checked out of the review by saving a copy of the file using the 'save an archive copy' option under file menu(File> Save as archive copy), when the reveiw process is complete.
    Thanks,
    Richa

  • Extended/modified to accept characteristic values for BAPI_SALESORDER_CREAT

    Hi All,
      can any help me extended/modified to accept characteristic values for BAPI_SALESORDER_CREATFROMDAT2 BAPI.my requirement is
    Exploring the standard BAPI BAPI_SALESORDER_CREATEFROMDAT2 (or any other suitable)to be extended/modified to accept characteristic values
      and based on characteristic values, it should perform variant matching
      and if  in case variant matching is successful, the BAPI should replace the KMAT material with the exact matched variant material.In case the variant matching is unsuccessful, then retain the KMAT material in the sales order line item

    Hello Nagarajan,
    I have used this BAPI in my last task. You are passing the values correctly. I will tell you why it is giving like that message.
    Whenever we will create a sales order in VA01 transaction, you will get a message like "The sales order is not complete, would you like to EDIT" while saving the sales order.... This is because of not providing complete data required for careation of sales order.
    Try to implement the changes manually in VA02, if you get same errors, then you can find your code is correct.
    Even I got same type of messages when changing a sales order to change the Rejection Reason for the items.
    Best Regards,
    Sasidhar Reddy Matli.
    Edited by: Sasidhar Reddy Matli on Jul 31, 2008 2:20 PM

Maybe you are looking for