OIM SPML WS client issue

Hi...
I have created an SPML WS client for OIM with eclipse and apache CXF. On running the AddRequest operation for a user I am getting the following error: UNSUPPORTED_EXECUTION_MODE.
On reading the oracle documentation I have understood that this error occures when a synchronised service is called in asynchronised mode but I am not sure how to change the mode from the code before calling the service.
Please let me know if u have come across similar situation...
Thanks..

import oracle.iam.wsschema.model.spmlv2.core.AddRequestType;
import oracle.iam.wsschema.model.spmlv2.core.ExecutionModeType;
import oracle.iam.wsschema.model.common.pso.ProvisioningObjectType;
import oracle.iam.wsschema.model.common.pso.ProvisioningObjectType;
SPMLService ss = new SPMLService(wsdlURL, SERVICE_NAME);
SPMLRequestPortType port = ss.getSPMLServiceProviderSoap();
ProvisioningObjectType pot = new ProvisioningObjectType();
pot.setIdentity(user);
AddRequestType art = new AddRequestType();
art.setExecutionMode( ExecutionModeType.ASYNCHRONOUS );// Or change it to SYNCHRONOUS, as per your need
art.setData(pot);
AddResponseType response = port.spmlAddRequest(art);
If it is helpful or correct, please mark it accordingly and also mark the question answered so that others too may get benefit.

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.

  • 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

  • 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 ...).

  • Sync error: Uploading records failed: "client issue: request body too large"

    1328917629619 Sync.Engine.AdblockPlus DEBUG Uploading records failed: "client issue: request body too large"
    This happens from 2 Win 7 computer and 1 Win XP computer sync'd. Without the Add Block Plus being sync'd everything works.

    Hi!
    That's a problem with the Add Block Plus sync engine. It seems that they have issues on their servers.
    Try to ask the same question in their forum: https://adblockplus.org/forum/
    Good luck!

  • Can  SPML-DSML client (10g) talk to SPML-XSD in OIM 11g?

    Hello.
    I have a SPML client that works with OIM 10g. If I upgrade to OIM 11g, will my client continue to work, or will I need to re-code it?
    I understand OIM 11g supports the newer XSD profile of SPML, but I would hope it is backward compatible with clients written to work with the DSML profile (10g)...But when I got an error when I tried to hit the WS in SPML-XSD with my client, I decided to install the SPML-DSML app (using the SPML-DSML.ear found in my OIM 11g installation, same dir as DSML-XSD.ear).
    The web app shows as Active, however I cannot see any Web Services (tried URL http://<oim-server>:14000/spmlws) ... To confirm, when I open Enterprise Manage 11g, and I do see the app (spml-dsml) under Application Deployments --> Internal Deployments, but when I right click on it to get to Web Services, I get the message "No Web Services are found in the application"...
    I then tried un-installing SPML-XSD, but that did not help...
    Thoughts anybody?
    Edited by: user8663548 on Jul 12, 2012 5:46 PM

    Update:
    I tried again hitting the Web Service in SPML-XSD and saw this error in OIM server log (which I missed the first time, too busy looking at my client app log):
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.security> <WSM-00069> <The security header is missing. Ensure that there is a valid security policy attached at the client side, and the policy is enabled.>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.security> <WSM-00006> <Error in receiving the request: oracle.wsm.security.SecurityException: WSM-00069 : The security header is missing. Ensure that there is a valid security policy attached at the client side, and the policy is enabled..>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.enforcement> <WSM-07607> <Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}wss-username-token executor class oracle.wsm.security.policy.scenario.executor.WssUsernameTokenScenarioExecutor.>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.enforcement> <WSM-07602> <Failure in WS-Policy Execution due to exception.>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.wsm.resources.enforcement> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=spml-xsd, composite=null, modelObj=SPMLService, policy=oracle/wss_username_token_service_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss-username-token.>
    <Jul 12, 2012 5:36:52 PM EDT> <Error> <oracle.webservices.service> <OWS-04086> <oracle.fabric.common.PolicyEnforcementException: InvalidSecurity : error in processing the WS-Security security header
    Getting closer!
    Edited by: user8663548 on Jul 12, 2012 5:45 PM

  • OIM Client issue

    I am seeing this message when I log in to OIM client. It was working fine yesterday and today I see this (below). The DB is up and server is up and see no issues there.
    Description: Database client has not bound to the server-side database object. Either the client database object has never bound to the server-side database object, or the server-side database object is no longer accessible.
    Remedy: Attempt to login again. If this fails, contact your system adminstrator.
    Anyone know what the issue might be?

    Another option that will tell you what part of the network and/or application stack that is failing is to sniff the connection to the db.
    Instructions: http://iamreflections.blogspot.com/2010/08/how-i-learned-to-stop-worring-and-love.html

  • OIM AD Password Sync issue

    HI,
    I am doing OIM 9.1.01 AD Password Sync.
    I installed AD Password Sync connector in AD Machine. During installation it asked to mention OIM host name and SPML port for that i deployed SMPL in OIM using command line successfully.
    While installation AD Password Sync Connector in Oracle Identity Manager Configuration Parameters i have given like these.
    Host : rwoim
    Port : 8080 (sample value)
    Administrator Login :admin
    Administrator Password: admin1234
    OIM User Attribute : Users.User ID
    OIM Application Server Type : WebLogic
    Use SSL : Yes
    Client Certificate Subject Name : TQL17
    where in Port parameter (Enter the number of the port at which the Oracle Identity Manager SPML Web service is listening.
    Sample value: 8080)
    But i don't know which port SPML using and its enable or not in OIM server. I am strucked at installation.
    Please give any one suggestion.
    regards
    Ramu

    Hi Sagar,
    i had success with OIM AD Password Sync process with AD Port 389 and SPML Port 7001 and passwords are updating from AD to OIM successfully.
    From OIM over AD SSL passwords are updating in AD successfully.
    But when again reinstalled the AD Password Sync connector with AD Port 636, passwords are not updating from AD to OIM.
    Below the log file saying ldap_connect failed with
    Debug [2/6/2012 5:25:35 PM] Server Down
    ***********Inside sgslldpcopenLDAPConnection****************
    Debug [2/6/2012 5:25:35 PM] Inside sgsladac c-tor
    Debug [2/6/2012 5:25:35 PM] AD Host
    Debug [2/6/2012 5:25:35 PM] 10.129.149.137
    Debug [2/6/2012 5:25:35 PM]
    Debug [2/6/2012 5:25:35 PM] AD Port
    Debug [2/6/2012 5:25:35 PM] 636
    Debug [2/6/2012 5:25:35 PM]
    Debug [2/6/2012 5:25:35 PM] AD Base DN
    Debug [2/6/2012 5:25:35 PM] DC=oimad,DC=com
    Debug [2/6/2012 5:25:35 PM]
    Debug [2/6/2012 5:25:35 PM]
    Debugging the code
    Debug [2/6/2012 5:25:35 PM] Inside ConnectToADSI
    Debug [2/6/2012 5:25:35 PM]
    ldap_connect failed with
    Debug [2/6/2012 5:25:35 PM] Server Down
    Debug [2/6/2012 5:25:35 PM]
    Debug [2/6/2012 5:25:35 PM]
    Connection to AD failed
    Debug [2/6/2012 5:25:35 PM]
    ***********Out of openLDAPConnection****************
    Debug [2/6/2012 5:25:35 PM] Inside sgsladac destructor
    regards
    Ramu

  • OIM SPML provisioning task generic connector

    We need to know how could get a custom message response from generic connector. Right now we are using a message like:
    <addResponse status="Error">
    <psoID ID="150">
    <targetID ID="IDDESTINO"/>
    <containerID ID="ContainerID"/>
    </psoID>
    </addResponse>
    We want to process the message with different status code because with the generic connector always get success when we response with a good formed spml response. We have tryed changing the status to different codes without success.
    Is there some sample code or more information to this issue anywhere?
    Regards

    Hi,
    Thanks a lot for reply. For SPML through web service(custom), I am using Generic connector and when I am trying to create a user using this connector it is hiiting the web service with the request
    <addRequest xmlns="urn:oasis:names:tc:SPML:2:0" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core">
    <targetID ID="Target5"/>
    <containerID ID="1"/>
    <data>
    <dsml:attr name="objectclass">
    <dsml:value>userobject</dsml:value>
    </dsml:attr>
    <dsml:attr name="lastName">
    <dsml:value>sh</dsml:value>
    </dsml:attr>
    <dsml:attr name="firstName">
    <dsml:value>abc1</dsml:value>
    </dsml:attr>
    </data>
    </addRequest>
    Of course, I want to add more attibute in this one.....but I didnt find any way to add more attribute in this message...or no ways to modify this request.
    With above request it is hiiting the web service and from web service I am returing following reponse as byte array:
    <addResponse status="success">
    <psoID ID="ash">
    <targetID ID="Target5"/>
    <containerID ID="1"/>
    </psoID>
    </addResponse>
    but as the response it is giving following on OIM server window:
    Response: GCPROV.null
    Response Description: An unknown response was received
    Error Details
    Setting task status... "GCPROV.null" does not correspond to a known Response Code. Using "UNKNOWN".
    Can anyone pls help me to figure out this. Also how can I modify SPML message to send more info to the target.
    Thanks in advance

  • Historical Reporting Client issues

    Hi,
    Cisco Unified CCX Administration  - HA Setup
    System version: 8.0.2.11002-3
    Supervisor PC:
    Windows XP SP3
    I've client facing some issue with HRC. He seems duplicate entries for few of the agents. He can recall those entries were earlier added/deleted from UCCX but still sees it in HRC.
    For example: Agent1 has two entries in HRC. AGENT1 and Agent1. The valid entry is Agent1 as configured in CUCM. The other entry (AGENT1) is not visible anywhere in CUCM or UCCX (Active/Inactive agents).
    There are 4 HRC users and they all see the duplicate agent entries.
    Another issue is that while running Agent summary or some other report for one of those duplicate agents, HRC throws following error. We've tried putting Agent1 and AGENT1 both entries in HRC but same issue. We know the Agent1 is taking regular calls and there should be reports for that agent. The error is:
    "There were no report data to view in the data range selected. Please select a different date/time and try again"
    Same agent, when trying to pull in the Agent Summary or some other report for March 2011, HRC throws the follwoing error:
      "A runtime error occurred while executing the query. Please check log for more details"
    I was suspecting Bug CSCtc79010 but as per the release notes for UCCX version client is running this bug is fixed in that version.
    Not sure if Bug CSCtj88620 is causing some issue. The problem description in the bug doesn't match exactly.
    I've already done the following but all the above mentioned issues remain there:
    1) I've verified the configuration in CUCM and UCCX. The Agent1 is only visible, there is no entry for AGENT1.
    2) Disabled/Enabled the UCCX DB Synchronization.
    3) Un-installed the HRC on a PC, deleted the HRC folder in Program files and re-installed by downloading the file from UCCX Server directly.
    FYI, all other agent reports are being run fine, not suspecting any admin rights/services issue in Supervisor PC.
    Would appreciate if anyone can give some more pointers what else can I check?
    Thanks in advance,
    inner_silence

    My issue is on UCCX v7.0.
    HRC shows duplicate entries for few agents.
    There are duplicate agents, due to changes made ​​in its number or its name. (view image).
    There is some file in the server UCCX to save the information to agents after being modified or deleted?
    Thanks a lot.
    ErnestoG

  • Windows 8.1 pro and vpn client issue

    dear support community ,
    Am using windows 8.1 pro and cisco vpn client version 5.0.0.7.0410
    .my issue is that am able to connect to the VPN succesfully but  when connected i cant ping nodes inside the VPN
    whereas when i do the same test with a windows 7 and xp PCs , am able to ping and even remote desktop nodes.
    someone help please ??

    funniest thing is , after using my PC for two weeks and doing regular updates , am now able to ping and RDP to nodes
    inside the VPN..:-)

  • Cisco vpn client issue on windows 8.1 pro

    I am using Cisco RV325-k9 router, I am configure "Easy vpn" in this router.
    Our some users use Windows 7 pro and others users use Windows 8.1 pro with Cisco vpn client version 5.0.070290.
    Issue is VPN client connected but not access remote machine and ping on windows 8.1 pro machines. but Working fine on windows 7 pro.
    But When i am using wifi through MTS wifi usb device then working fine.
    Please find the attached screenshot of VPN Client Statistics.
    Please give me a solution.
    Regards
    Sanjib

    Hi Sanjib,
    Cisco VPN clinet is not supported for the windows version 8.1. And also it is EOL announced. Might be the below mentioned work around might help you. Try this.
    http://www.vmwareandme.com/2013/12/solved-windows-8-and-windows-81-cisco.html#.U9tCdxCrOxo
    Regards
    Karthik

  • Multithreaded client issues

    I have a multithreaded client that maintains a pool of connections to the Oracle server. Each thread grabs a connection to issue selects, updates and inserts to the DBMS. Under Win 2000, an access violation occurs in msvcrt.dll when the second or third thread exits (during the OS call to _endthreadex). This problem does not occur under WIn NT 4.0.
    Are there any multithreaded issues related to development on 2000 vs NT? Where can I read more about writing multithreaded OCI clients in general?
    The Win 2000 box is current on Windows 2000 service packs, Visual Studio SPs, and the MS SDK. I'm using OCI V8.
    Thanks,
    Ben

    if your question is the same as another post up in this thread, you just need a single environment handle. OCI will automatically manage the thread safety across multiple threads.

  • Outlook Client Issues following Exchange 2010 Rollup 8

    Update Rollup 8 For Exchange 2010 SP3 (KB2986475) was applied to our Exchange server last night.
    All appears to be fine, but users are having all kind of trouble using the Outlook Client to connect to their mailboxes.
    Randomly they can't view certain folders (Inbox/Sent Items). Can no longer save to their Calendars. Errors relating to permissions and Outlook notifications?!?!?!?!
    This is ONLY when using the Outlook Client - webmail works fine.
    There are also no issues when running Outlook in safe mode.
    Any advice would be very much appreciated.
    Thanks
    David

    The following has been posted onto the Exchange team site:
    http://blogs.technet.com/b/exchange/archive/2014/12/09/exchange-releases-december-2014.aspx
    Update 12/10/2014:
    An issue has been identified in the Exchange Server 2010 SP3 Update Rollup 8. The update has been recalled and is no longer available on the download center pending a new RU8 release. Customers should not proceed with deployments of this update until the
    new RU8 version is made available. Customers who have already started deployment of RU8 should rollback this update. 
    The issue impacts the ability of Outlook to connect to Exchange, thus we are taking the action to recall the RU8 to resolve this problem. We will deliver a revised RU8 package as soon as the issue can be isolated, corrected, and validated. We will publish
    further updates to this blog post regarding RU8. 
    This issue only impacts the Exchange Server 2010 SP3 RU8 update, the other updates remain valid and customers can continue with deployment of these packages.
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Client issues from behind firewall (login delays)

    I have a Novell 6.0 server outside the firewall and am beginning to set
    up clients on the inside of the firewall. There appears to be no
    issues with the outside clients connecting to the outside server.
    However I am having strange issues with the inside clients
    authenticating to the outside server. (all clients are WinXP)
    If I do not sit for at least 10 seconds at the novell login screen on
    the client at first boot-up before attempting to login, the client will
    fail. If I try again after that, it goes right in. If I do wait for
    the 10 seconds, the client authenticates the first time.
    If I put an IP address in the server name field of the login dialog
    box (instead of the servers FQDN) the client authenticates the first
    time.
    Has anyone seen this before or know where to begin looking? There does
    not appear to be a delay issue with the DNS server, as once the desktop
    is up all web browsing and pings respond quickly.
    Thank you for any help you can provide.

    Thanmad,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

Maybe you are looking for

  • CRM 4.0 alerts in CRM 2007

    We had configured a number of alerts in CRM 4.0.  We have recently upgrade our system to CRM 2007 and these alerts no longer work in the CRM 2007 web IC.  is there a conversion process or do these need to be recreated from scratch?  Any documentation

  • Exceptions at the time of downloading jars from server to client PC-Help !!

    Always getting some exceptions in my log file at the time of downloading the jar files from server to my client PC. Actually our appln contains different functionalities and one of the functionality is this stanalone appln. When i click on some links

  • Apple TV country compatibility

    My cousin intend to give me his Apple tv which he purchased it from USAand that I'm from Malaysia. Will the Apple TV work? Any comparability issues? Power supply socket

  • When syncing Contacts, does IPod Touch or MacBook Pro take priority?

    - I want to sync my Contacts between my IPod Touch and my MacBook Pro. - - A message says that my MacBook Pro contacts will be changed 5% if I proceed. - - I want my MacBook Pro Contacts to override my IPod Touch Contacts, not the other way around. -

  • Slow response times

    This last weekend, we migrated off of our old server 2003 cf7mx server, to a new Server 2008r2 x64 CF 9,0,1,274733 server.  We are now experiencing slow response times for our server,according to the Windows Performance monitor our Avg Request times