Deployin Web Service in OIM

I have developed a webservice which will take the following inputs from the user
* User ID
*resource name for which access is needed
and also some other details.
For this userid am logging in to OIM using signature method and raising a request for the given resource through webservice and returning the request key as web service response.
I tested my webservice in my local environment and it is working fine. I am able to raise the request for that specified resource and request key is generated which is sent as Soap Response.
Please help me to deploy the same webservice in OIM server.
Thanks in advance.
Edited by: Durgaprasad on Aug 28, 2011 7:59 AM

Hi vindla ,
I have developed a web service on web logic and tested it in my local environment. Please let me know the steps to deploy it on OIM Server.
My OIM Server version is 10g, deployed on weblogic server.
Thanks
Edited by: Durgaprasad on Aug 29, 2011 6:10 PM

Similar Messages

  • How to call an external web service from OIM?

    Hi,
    I have a question on how to call an external web service from OIM within e.g. creating user process? How should it be done; through adapter and task in the process?
    Any recomendations?
    Thanks in advance!

    it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
    Lets do some divide and conquer:
    Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
    Once this works we can start looking at the web service call.
    Best regards
    /Martin

  • Problem calling web service from OIM

    Hello,
    We have a requirement to get the department name from a web service call and populate the department name on the usr form based on the deptid.
    We created the java web service client class (got the jar file and put it in the JavaTasks directory on OIM server). We unit tested this code successfully from our desktop.
    Then we created the process task in the design console to call the client class method to get the deptname based on the deptid.
    We got a value of "exception" returned from the web service call.
    When we telnet from OIM to the web server, we got "connected to..." followed by "Connection closed by foreign host".
    How can we verify that OIM can talk to the web server?
    Please help.
    Thanks
    Khanh
    Edited by: user12049102 on May 5, 2010 1:06 PM
    Edited by: user12049102 on May 5, 2010 1:49 PM

    We knew that we can make the web service call from the command line. So, we wrote a shell script that calls the web service jar file and it worked.
    It's not elegant but we couldn't figure out why we cannot make the web service call directly from OIM.

  • Development of SPML Web Services in OIM

    Hello All,
    I need to write some custom SPML based web services, which are not available in OIM 9.1.0 release.
    Is there any framework available that can be used for the same?
    Thanks in Advance,
    Shyam

    The 9.1 GTC Webservices provisioning connector does SPML only. It cannot consume a generic non SPML WSDL and generate stubs (no matter how much the documentation makes it sound like it can).
    That said, I'm not sure I totally understand your question. An SMPL web service provider is going to have a WSDL and it can be run by a servlet or any other server technology (like .net) capable of exposing functionality as a web service.

  • Cant Call Web service Through OIM adapter

    Hi, I am trying to call A web service using A Axis2 client in Java , but i get a error saying "input message for a required feild is null".
    However if i try to use a non Axis2 client then it works fine ..
    Please suggest any solutions?

    I will suggest you first test your OIM adapter code into your IDE or WL server:
    If you try using your Eclipse or JDeveloper can you call WS? Into JDeveloper you can tes using: Right click into WS class and 'Creating a WS Client' or just running a 'Test WebSevices' option. Just simulate using JDeveloper+OIM codes and libs it should work.
    Right now I am doing this above and I am able to test my OIM WS code fine.
    Another way is deploy your WS OIM code into WebLogic. Using WebLogic 'development mode' you should see two links: A service called 'Test Client' that you can test it and second one with just WSDL link.
    I hope this helps,
    Thiago Leoncio

  • Web services using OIM Client API.

    Hi All,
    decided to try out some webservices talking to OIM via the client api. have a few questions.
    is it better if the webservice app server and the OIM ejb app server are the same? i.e. weblogic.
    I noticed in some of the code that configurationclient is using "web-client" rather than "Discovery.Coreserver" as the first param. what's the difference?
    Im currently using tomcat5 and java5 with xfire. and I think tomcat is not liking the weblogic jar. I could swap out the app server but would like to keep using java5 and xfire if that's possible.
    curious to hear abut other setups.
    Thanx.
    Fred

    I have a couple of clients using web services to expose OIM APIs. The most common approaches is to either use Apache Axis or the web service module in Websphere.
    Perhaps you should try migrating to Apache Axis if your application server doesn't like the Weblogic jars?
    I personally like Axis but that is mostly because I have used Axis a couple of times.
    Best regards
    /M

  • Error in deployin web service

    Why i receive this message when deploy my web-service?
    Use the following context root(s) to test your web application(s):
    http://nb-luca:????/ProvaSeriale-ProvaSeriale-context-root
    Note: JDeveloper was unable to determine the HTTP port number of the remote server for the above URL(s).
    Thanks, Luca

    Hi,
    the default port is 8888.
    Frank

  • OIM 11g to provision a web services based application , how ?

    Hi All,
    I'm trying to provision using GTC connector in OIM but the problem is i know how to write a webservice but i'm newbie to OIM 11g so i am not able to integrate my webservice to the OIM GTC connector.
    Highly appreciate if any one give me the background or steps to follow how to execute the provisioning using custom web service in OIM 11g.
    Thanks

    Hi,
    -Just trying to help-
    Based on OIM 11G requirements:
    If your target system is a Web service that can accept and parse SPML-based provisioning requests packaged in SOAP messages, you can use the SPML provisioning format provider and Web Services provisioning transport provider.
    You need not create custom provisioning providers.
    1-SPML provisioning format provider
    TargetOperation value object that is created by the SPML provisioning format provider and used as an input for the Web Services provisioning transport provider:
    com.thortech.xl.gc.impl.prov.WSTransportTargetOperation
    2-15.4 Web Services Provisioning Transport Provider
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/prdfnd_prov.htm#CHDJBFAI
    I hope this helps,
    Thiago Leoncio Guimaraes

  • Error while calling SPML web service call in OIM 11g

    Hi,
    While testing the SPML web service call, I am getting the "failure in security check" errors.
    And I have attached the request and responce .
    Request:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:ns1="urn:names:spml:ws:header">
    <ns1:ServiceHeader>
    <ns1:serviceId/>
    </ns1:ServiceHeader>
    <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>xelsysadm</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXXXXX</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soap:Body xmlns:ns2="http://xmlns.oracle.com/idm/identity/spmlv2custom/Username">
    <ns2:validateUsernameRequest xmlns:ns3="urn:oasis:names:tc:SPML:2:0" requestID="12345" executionMode="synchronous" locale="en" policyURI="http://www.sample.com/string/string">
    <ns2:capabilityData mustUnderstand="true" capabilityURI="urn:oasis:names:tc:SPML:2:0:reference"/>
    <ns2:username>TCS1000</ns2:username>
    </ns2:validateUsernameRequest>
    </soap:Body>
    </soap:Envelope
    Response:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <faultcode>ns0:FailedCheck</faultcode>
    <faultstring>FailedCheck : failure in security check</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    I have attached the log file from OIM
    ####<Apr 26, 2012 10:27:13 AM EDT> <Error> <oracle.wsm.resources.enforcement> <corwloimhd01> <dev-oim_oim_server01> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <214014dca901f288:-460ab67b:136eeab0662:-7ffd-0000000000000838> <1335450433058> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=spml-xsd, composite=null, modelObj=SPMLService, policy=oracle/wss11_saml_or_username_token_with_message_protection_service_policy, policyVersion=1, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.>
    ####<Apr 26, 2012 10:27:13 AM EDT> <Notice> <Stdout> <corwloimhd01> <dev-oim_oim_server01> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <214014dca901f288:-460ab67b:136eeab0662:-7ffd-000000000000083d> <1335450433058> <BEA-000000> <<Apr 26, 2012 10:27:13 AM 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/wss11_saml_or_username_token_with_message_protection_service_policy, policyVersion=1, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.>>
    Please help me how to solve this issue.
    Thanks in advance
    Siva

    Your business logic has to be implemented by using OIM APIS. oimclient.jar..
    you can then expose these business functions accordingly using a webservice or rest ...
    for business logic refer:-
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/apis.htm#OMDEV734
    You will basicsally have to deal with UserManager class for managing users.
    java API:
    http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/toc.htm

  • Error While configuring PeopleSoft Listener Web Service in new OIM setup

    Hello,
    setup 1: I've an existing OIM 9102 BP15 install with JBOSS server. PeopleSoft Listener Web Service is setup on this environment to read Change-Based Reconciliation.
    setup 2: I installed a parallel OIM 9102 BP15 with Weblogic server pointing to the same database (as with JBOSS) when JBOSS was down. This a new parallel environment to JBOSS and works alright. However, when i tried accessing the endpoint URL after successfully deploying the same peopleSoftUserMgmt.war into weblogic...(updated xlclient.properties - all other configuration remained the same)
    i see below error:
    ####<Mar 20, 2012 3:21:34 PM PDT> <Error> <HTTP> <my-hostname> <OIM_SERVER1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e24a8026bbd689e0:f44fe7f:136322f4b1e:-8000-000000000000002e> <1332282094570> <BEA-101017> <[ServletContext@321747825[app:peopleSoftUserMgmt module:peopleSoftUserMgmt.war path:/peopleSoftUserMgmt spec-version:null]] Root cause of ServletException.
    javax.servlet.ServletException: Error initializing reconciliation
    at Com.thortech.xl.Integration.peoplesoft.PeopleSoftAction.initializeRecon(Unknown Source)
    at Com.thortech.xl.Integration.peoplesoft.PeopleSoftAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Any pointer to resolution?
    Thanks,

    Does it means that
    1) deploy peopleSoftUserMgmt.war as a application file through Weblogic console (Deployments -> install -> upload files -> .....).
    2) Then go to deployed folder (which folder?? ..../Oracle/Middleware/user_projects/domains/oim_domain/servers/OIM_SERVER1/stage/peopleSoftUserMgmt/peopleSoftUserMgmt.war) and manually replace the folder content with separately exploded peopleSoftUserMgmt.war/ folder ?
    thanks,

  • Questions about SPML Web Service ( OIM 9.1 )

    I need to launch a provisioning process on a target by using a generic connector (Web Service).
    Scenario:
    ==========
    Host A is where the OIM server is installed. A generic connector is defined here.
    Host B is the target where users must be created. A webservice (axis) is installed here.
    Requirements:
    ===========
    OIM server (Host A) sends a request to WebService (Host B). The Web service receives, process and sends a response with the result to the OIM server.
    Version 9.0.3
    ==============
    On Version 9.0.3 I got the expected results but a problem appeared: there wasn't feedback error control because the web service response could'nt be processed.
    I followed the next steps:
    1º deploy axis on application server
    2º write SendWSResponse.jws including public method "doProvisioning". Copy this file to ..\server\default\deploy\axis.war\
    3º compile SendWSResponse.jws (from a browser)
    4º Create generic connector (for reconciliation and provisioning). Definition of parameters and mappings.
    Note: In 9.0.3 version only three parameters were required for Web Service Definition:
    Web Service URL=http://host:8080/axis/SendWSResponse.jws
    Operation Name = doProvisioning
    SPML-->Target ID=4201
    Version 9.1
    ==============
    On the new version, the connector definition is more complicated. Also they have added an ear-application or web service (OIMSpmlWS) related to this connector .
    The first question is:
    Is this ear-application addressed to process the reponses that are sent by the target?
    The second question is:
    Must I install the OIMSpmlWS on Host B? and if the answer is affirmative, how can I include the logic to my provisioning process.
    And the most important?
    How might the connector be configured and the webServices in this usual scenario?
    Many thanks in advance

    There is no "sample" WSDL file, there is THE WSDL file. It is located in the OIMSpmlWS.ear EAR file, in spmlws.war WAR file in the directory WEB-INF/wsdl.

  • SPML web service provisioning from OIM 9.1.0.1 using the OOTB GTCframework

    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.

    In the entire thread many experts have given nice queries in different formats...
    The best approach would be to open up the SQL Developer, connect with the OIM Database and experiment with all sorts of SQL queries provided by all the experts..
    Learn some SQL techniques, like Inner Join etc...
    Then you yourself will be able to figure out what you need, in exactly which format, for which users and for whom you have to restrict
    Then not only this question, you would be able to solve dozens of similar such issues yourself...
    And trust me, nothing can match that...
    Just in case, you are not familiar with SQL Developer,
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    Oracle SQL Developer 3.2.1 (3.2.10.09.57)
    September 24, 2012
    The Disabled DATE will be the creation date of that entry in the UPA_FIELDS table when Users.Status changed to Disabled.
    SELECT USR.USR_LOGIN, UPA_FIELDS.CREATE_DATE
    FROM UPA_FIELDS
    WHERE UPA_FIELDS.FIELD_NAME='Users.Status'
    AND UPA_FIELDS.FIELD_NEW_VALUE='Disabled'
    AND UPA_FIELDS.UPA_USR_KEY=USR.USR_KEY
    AND USR.USR_LOGIN NOT IN ('XELSYSADM', 'XELOPERATOR', 'WEBLOGIC');

  • Using web services in Approval Work flow in OIM 11g

    Hi All,
    I am a new bie to OIM 11g. I have created an approval work flow and it is working fine.
    Now my requirement is to use a web service in the approval work flow instead of directly embeding the java code in Java Embeding Activity. Can some body share me a document or url for the process of doing it.
    Thanks in advance for the help.
    Thanks,
    Preeti

    If you are using OIM 11gR2 please refer the below document. All steps are very clear with the screenshots.
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/request.htm#autoId27
    See section 21.3.5.7 Configuring the Human Task and BPEL Mappings
    Also see this OBE tutorial for getting idea on Java embedding activity and assigning and retrieving data from global variables in SOA
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/Request_Workflow_for_Self_Registration/request_workflow_for_self_registration.htm

  • BMC Remedy ticket generation and view its status in OIM using Web Service

    Hi All,
    I want to Integrate and on-board Remedy system (BMC) with the Oracle Identity Manager (OIM) for my client. It has a standard way for external applications to exchange Remedy ticket data with the Remedy system. Remedy system picks up information from the external interface database table for inbound Remedy tickets and direct it to the appropriate Remedy forms and workflow. (In short it raises tickets for provisioning / deprovisioning / error processing for Target System like ACF2 etc).
    Use Cases:
    *1.* Visibility of Ticket Status
    The status of a Remedy ticket could be viewed by the user by clicking on Remedy Resource object instance found from the "My Resources" link after logging into OIM. Typically the user form should be visible.
    Visibility of Ticket Status (Alternative)
    The scope of customization of the "My Resources" link to add e.g. "My Tickets" which would show all the Remedy tickets that OIM has raised for the user.
    *2.* Web Services
    The Remedy application would notify OIM when the status of a ticket is changed within the Remedy System boundary. Ideally a web service hosted by the security team would get called by the Remedy Application and OIM would be updated by the service
    This is an urgent requirement and your feedback would be very valuable and highly appreciated. I am looking forward for a solution for both the use cases but the priority is on 2nd use case i.e the web service part using SPML.
    Regards,
    Sourish

    Duplicate:https://social.technet.microsoft.com/Forums/en-US/796fad9e-9f69-40f0-98aa-2816793fc38c/bmc-remedy-integration-with-scorch-and-ad?forum=sco3pip
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • OIM API in web service

    Hello,
    I'm using the OIM API in a web service. Once the web service is deployed when calling the api it fails throwing this error. Any ideas will be greatly appreciate it
    0000002b SystemErr R Thor.API.Exceptions.tcAPIException: com.thortech.xl.security.tcLoginException: javax.naming.NameNotFoundException: Context: Test70Network/clusters/WAS70A, name: ejb/tcUnauthenticatedOperations: First component in name ejb/tcUnauthenticatedOperations not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
    R      at Thor.API.tcUtilityFactory.createLoginException(Unknown Source)
    R      at Thor.API.tcUtilityFactory.<init>(Unknown Source)
    Thanks

    Hello,
    Did you ever receive an answer to this problem? And if so, I would love to know what it was.
    Thanks!

Maybe you are looking for