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.

Similar Messages

  • Question about get web service result in actionscript and convert data format

    Hi, All
    I have question about how to get dataset from web services
    and put it in tree structure. I have 2 questions about this:
    1, How can I get data correctly in actionscript?
    I have no problem to get data by
    <mx:ArrayCollection id="acFolder"
    source="{mx.utils.ArrayUtil.toArray(MyGServices.getFolder.lastResult)}"
    />
    And display in datagrid.
    But when I try to use
    public function
    handleFolderContents(event:mx.rpc.events.ResultEvent):void{
    arData=mx.utils.ArrayUtil.toArray(event.result);
    acData=new ArrayCollection(arData);
    input.text=acData.getItemAt(0).id;
    Seems I can’t get data, it always say:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    2, how to convert data format
    I get data from web service and want to convert it to tree
    structure, as mention below:
    I get:
    <Array>
    <id>111</id>
    <Name>Production1</Name>
    </Array>
    <Array>
    <id>222</id>
    <Name>Production2</Name>
    </Array>
    Convert to:
    <mx:XMLList id="treeData">
    <node>
    <node label="Production1" data="111">
    <node label="Production2" data="222"/>
    </node>
    </node>
    </mx:XMLList>
    Please help me.
    Thanks.

    First, don't specify the package path in the argument
    declaration. Instead import the event object:
    import mx.rpc.events.ResultEvent;
    The docs state this emphatically.
    Second, try "lastResult", in place of "result":
    arData=mx.utils.ArrayUtil.toArray(event.lastResult); // I am
    not positive about this. I maybe recall reading that result was ok
    for the event object, but maybe not.
    Finally, why do you want to convert the xml? You certainly
    could, but it would be a manual process, recursively reading the
    existing xml nodes and building the new structure, but again, why?
    Just use a labelFunction if necessary to display the nodes as
    you wish.
    Tracy

  • Please answer the simple question about publishing Web Services!

    I have implemented my first web service GetDate, using JDeveloper.
    Could anybody tell me please how can I place now this web service on the web, on my web page?

    Dear Shay, thank you a lot!
    But it seems to me that you didn't understand my question or may be I have explained it not in the best way.
    I have done every step from this tutorial, I have deployed me web service to OC4J Server, and it works.
    What I need now, is to make this service available on my home page, which doesn't have Oracle Application Server, so that every person on the internet (even if he also doesn't have this application server installed on his computer) can use it.
    Is it possible to do so or not?

  • Question about FlyNet Web service generator

    I downloaded the 30 day free trial of Xcelsius Engage Server so I could check out the FlyNet product.  Can you not just take the compiled asmx and supporting files and drop them to a .Net Web server?  When I do this my Web service returns this error in Xcelsius:
    Error accessing CAL management service.  Please check that the service is running.
    If something needs to be configured on the .Net Web server then it will never work here since I will never be able to convince the server support area to install and maintain it.
    thanks

    Hello Jeremy,
    Web Services generated with our Web service Generator have the connection string encrypted and must be used on the machine they were generated on. You cannot just take the .asmx object etc. and place on another server.
    The Engage Server version of our product also uses CAL Licensing and checks that the Flynet CAL Licence Manager is running on the machine that the Web Service is generated on, it also requires a valid Engage Server key (the Xcelsius Engage Server key) to run.
    Hope that answers your questions. If you need any further information on Flynet Web service Generator then please contact us here at Flynet.
    E.Mail support AT Flynetviewer.com  or you can e.mail me direct.
    [http://www.flynetviewer.com/Default.aspx]
    Edited by: Ian Learmonth on Mar 24, 2009 6:49 PM

  • Question about calling Web Services with SJSC

    I am trying to call the web serivces with SJSC, I read this article Accessing WebServices(http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/webservices.html
    Following the article, I successed add TravelWS.wsdl to the IDE Servers window, and I also tested getPersons method and got the result.
    After that, I did the same way to add another WSDL to the IDE Servers Window, but I got the InvocationTargetException error message when I tested the methods of this web services. I am sure the Deployment Server and Bundled Database Server are running.
    The following is the error messages I got:
    InvocationTargetException com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:459) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031) java.lang.Thread.run(Thread.java:595) null sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031) java.lang.Thread.run(Thread.java:595) java.lang.NullPointerException com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:478) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294) webservice.neuronwebservice.NeuronWebServiceSoap_Stub.getAvailableProjectNames(NeuronWebServiceSoap_Stub.java:609) webservice.neuronwebservice.neuronwebservice.NeuronWebServiceClient.getAvailableProjectNames(NeuronWebServiceClient.java:36) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450) com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031) java.lang.Thread.run(Thread.java:595)
    Any helps?
    Thanks
    Message was edited by:
    King666

    I also tested the webservice from PDB. (its WSDL url is http://www.rcsb.org/pdbws/rcsbWebService?wsdl). Only method getIDStatus works. and others such as getAtomSite do not work. And I got the same error message (invocationTargetException).
    The insteresting thing is that I wrote a standalone java program and I could sucessfully call all web services method from there. It looks like something wrong with my JSC configuration.
    Can anyone give me some help?
    Thanks in advance,

  • A question about axis web service

    Does "AdminClient" command creates stubs and skeletons for my web service or do i have to do it manually by "WSDL2JAVA" command?

    Having a look into the Axis' AdminClient spec tells me AdminClient is more like a Web service console and no kind of a generic web service client.
    I would say "WSDL2JAVA" is the right thing.
    Edited by: JBStonehenge on Mar 4, 2010 3:11 PM

  • Question about creating Web service for Xcelsius

    Has anyone successfully written a Web service in .Net C# that Xcelsius can use? I was just trying to create something simple and it will not work. I get data in my Xcelsius report, but it is all lumped into one 'cell' and the XML tags are still in there. If anyone has some sample code that does work it would be much appreciated.
    Here is what I have:
    public string getTableInfo()
    SqlDataAdapter dbadapter = null;
    DataSet returnDS = new DataSet();
    using (SqlConnection dbconn = new SqlConnection(
    "Server=SERVER;"
    + "Database=DB_NAME;"
    + "User ID=ACCOUNT;"
    + "Password=PW123;"
    + "Trusted_Connection=False;"))
    SqlCommand cmd = new SqlCommand();
    string sqlQuery = "select FIELD1, FIELD2 from TABLE";
    cmd.CommandText = sqlQuery;
    cmd.Connection = dbconn;
    dbadapter = new SqlDataAdapter(cmd);
    dbadapter.Fill(returnDS);
    return returnDS.GetXml();
    thanks!!!

    Hi Jeremy,
    This might get you closer (VB.net): VB.net code to create XML
    Regards,
    Matt

  • Question about XI Web Service

    Hi all
    Use soap sender adapter, we are able to expose the XI interface as web service. But we cannot find these xi web services via http://server:port/wsnavigator. And they are also not listed in http://server:port/inspection.wsil.
    Does anyone know hot to make xi web services a "normal" web services?
    Regards,
    Hui

    hi
    Check the following links. May be they can solve your problem
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    Thanks & Regards
    Harsimran

  • Simple Question about a web service

    Hi,
    I have been playing with Java and the graphics api to build some multitouch desktop apps, but now I have a new project but don't even know where to begin.
    What would be the best way to create a very simple webpage with buttons that when clicked would send a message or call a service that would then call a method in my java code running on my server?
    Is Soap the way to go? Is there any simple tutorial explaining what I'd like to do? I just don't even know what to search for :/
    Thanks!
    Edited by: phil.harlow on Jul 13, 2009 10:22 PM

    Hi Tolls,
    That's exactly it. A very simple ajax page with buttons, that when clicked, send a message to my server so I can run some java code. Eg, I want to have a "hello world" button on a webpage that I view on my iphone, and when I click it, I want to see a hello world trace out on my server. To be more specific I just got a java app working on my server that will control x10 (automated lighting) via usb and I want to build a webfront to turn lights on/off.
    I actually got it working using GWT, but I think the servlets are what I want to do. (I think) GWT doesn't give me full control over the page and only lets me use prebuilt js objects. Plus, I have to keep eclipse and the GWT tool thing open while the server is running.
    I just setup my tomcat installation before trying GWT, do you know of any simple tutorial for starting with servlets to accomplish this simple task? I will start browsing now.
    Thanks for all your help!

  • 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

  • Can "SPML Web Service Complex Data Type field" take multiple values ?

    In Generic Technology Connector's -SPML design parameters section, Can we give multiple values in SPML Web Service Complex Data Type field?
    If not, how can i call methods directly instead of calling them through a values of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type?
    I need 'SPML Web Service Complex Data Type' to hold multiple values.And based on the request it has to initiate appropriate method of action.
    Presently i have three methods add,modify and delete which i am calling through a single value of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type.
    I want to replace this single value with multiple menthods , so that a direct interaction between the method,OIM and target can be established.
    Edited by: 821054 on 16/02/2011 04:23

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • SPML Web Service in 11g (XSD): fail to get the psoID

    Hello.
    Has anybody successfully used the default XSD version of the SPML web service in 11g? I was able to successfully invoke the Add User operation but I'm not seeing the psoID (this is the unique ID generated by OIM for the user) for the newly added user... The Oracle docs for 11g do not show how that is returned... I would think that in would be in the response but I do not see it there... Someone suggested using Search User to get the psoID but I do not see a Search operation in the WSDL for 11g...
    I'm starting to think that the XSD version of the SPML in 11g is maybe incomplete? When I get chance, I may deploy the DSML version of the web service, and then run the Sample HTTP Client to see if that works better. I understand that this DSML version is what was used in 10g, and may be more robust.
    Thoughts anybody?

    Sunny,
    As you have pointed out, API will work.
    But regarding your statement:
    "Use SPML10g along with SPML11g (this is the cleanest OOTB solution wherein you can use the older set of SPML methods to fetch the userKey and then use newer SPML methods to perform asynchronous operations). I did the same"
    SPML samples that came with 10g did not work with OIM 11g for me. Because from what I know, SPML in 10g made use of DSML profile and that is not supported in 11g.
    http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/spmlapi.htm#CHDCBJAI
    "SPML has two profiles: the XSD profile and the DSML profile. This release of Oracle Identity Manager makes use of the XSD profile."
    Did you tweak something to get it working?
    Thanks.

  • SPML Web Service -  custom Add Response

    Hi,
    Each time an Add Request is requested to OIM's SPML Web Services, there is a standard SPML Add Response received where in PSO ID is returned.
    We in our project are looking to customise this format and return additional parameters (which OIM would generate based on some logic) to the requesting consumer.
    Can I achieve this in OIM. Is this an Out-of-the-box feature OR some thing which I would need to do. If so, kindly eloborate and brief me the steps to proceed.
    Edited by: bond8135 on 11-Apr-2010 18:37

    Sunny,
    As you have pointed out, API will work.
    But regarding your statement:
    "Use SPML10g along with SPML11g (this is the cleanest OOTB solution wherein you can use the older set of SPML methods to fetch the userKey and then use newer SPML methods to perform asynchronous operations). I did the same"
    SPML samples that came with 10g did not work with OIM 11g for me. Because from what I know, SPML in 10g made use of DSML profile and that is not supported in 11g.
    http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/spmlapi.htm#CHDCBJAI
    "SPML has two profiles: the XSD profile and the DSML profile. This release of Oracle Identity Manager makes use of the XSD profile."
    Did you tweak something to get it working?
    Thanks.

  • I want to question about the official service at the service center of Sony.

    I want to question about the official service at the service center of Sony.
    long since I like the models and items sony. from start playstation, cameras, camcorders up, I've ever had. and a new camera that I bought two years ie compact cameras Sony Cybershot DSC H200. as of a month ago, a camera was having problems in lenses that would not close. and setting the automatic mode to move by itself. I came to the Sony Service Center in Makassar, precisely on Jl. Shop Pengayomann A5 / 05 (0411) 442340.
    operator initially said only two weeks to work on my camera. but this week has been more dau even want to go in a month tomorrow, dated July 9, no news from the service center. and I kept the call to the office service. as well as assorted reasons. there are no spare parts or technical constraints, and the last one I call to his office, he said the factory spare part is damaged. imported directly from Singapore. I think, ko new spare part it can be damaged before using that? how the quality of this Sony spare part? ugly? not good? why?
    I was disappointed with this situation, where soon it will Eid, want to return home as well to Java. but the camera has not been settled workmanship?
    nah, roughly what is the solution of the Sony plagued with this problem? please help, because he did not know to whom to complain. operator had just said: it's up to the father alone.
    once again I asked for his help. solution. if you can before Eid arrived.
    Thank you,
    AD. Rusmianto

    Hi awwee107, 
    Welcome to the Sony Community! 
    We have forwarded your query to the relevant team for their further assistance and someone from local CC will contact you.
    Thanks!
     

  • Persistance question for conversational web services.

    I don't know if this should be posted here or on the workshop group but....
    When you create web servce that is conversational states weblogic creates a table
    that holds information about that web service. They are CG_ID, LAST_ACCESS_TIME
    , and CG_DATA.
    I assume that CG_ID is the converstation ID, LAST_ACCESS_TIME is used for timeout
    information, , but what is CG_DATA used for. I need to know if when you create
    an object inside a
    web service that supports conversation's is the column (CG_DATA) used to hold
    the internal state
    of the web service? I need to know if object persistance is handled automatically
    or if I have
    to do it myself.

    Object persistence is handled for you; all of the non-transient
    serializable state should be stored in the database.
    Tim Bounds wrote:
    I don't know if this should be posted here or on the workshop group but....
    When you create web servce that is conversational states weblogic creates a table
    that holds information about that web service. They are CG_ID, LAST_ACCESS_TIME
    , and CG_DATA.
    I assume that CG_ID is the converstation ID, LAST_ACCESS_TIME is used for timeout
    information, , but what is CG_DATA used for. I need to know if when you create
    an object inside a
    web service that supports conversation's is the column (CG_DATA) used to hold
    the internal state
    of the web service? I need to know if object persistance is handled automatically
    or if I have
    to do it myself.

Maybe you are looking for

  • When I went to the apple store a worker said I could merge two apple ID's. How can I do this?

    My sister was the first person to get an apple product before anyone else so she created her own Apple ID. Then other members in my family including myself, received apple products and made a family Apple ID for all of us to use. My sister now uses t

  • Ipod nano 4gb problem

    hi all i came here cause i have a problem with mi ipod nano 3rd gen mi screen its freeze but when i reset the ipod i can hear 2 beeps and the same white screen, i can listen to my music but i see a white screen i can do everything normal but with a w

  • Why my airplay mirror doesn't works? when I tap in the button mirror, it closes automatically and return to the task bar

    Hello supporters, I have an ipod touch 5 blue with ios 7 in his last update, and when I connect my pc to my ipod with REFLECTOR to mirror with AIRPLAY it closes automatically in my ipod. I mean... ALL is connected, the router wifi, internet, and refl

  • Deleted "Managed Service Accounts" Container

    Unaware that the container was created as part of our 2008 R2 AD Upgrade I deleted this container (thinking that another admin was doubling up efforts) on a pre-existing "Service Accounts" OU that was created in the past.   While doing some research

  • Newbie- Help with Rollovers

    Hi, I'm currently completing my Dip. Graphic Design and am still new to using Dreamweaver. I am in the process of completing a website for an assesment. I have managed to create a navigation bar with rollover swap images however I wanted to know how