SPML Provider
Hi,
OIM acts as Requesting Authority,SPML Provider Acts as Provisioning Service Provider.
I am generating spml requests form java code to SPML provider.The spml response returned does not contain the attribute values.How to fetch the attribute values from the java code
For eg.
The lookup request and response is as follows:
<lookupRequest xmlns='urn:oasis:names:tc:SPML:2:0' returnData='data'>
<psoID ID='CN=100077,DC=NEWESSADEXC,DC=COM'/>
</lookupRequest>
The response
Response*******<lookupResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='success'>
<pso>
<psoID ID='CN=100077,DC=NEWESSADEXC,DC=COM'/>
<data/>
</pso>
</lookupResponse>
The data tag shows its empty.
But I need to fetch values from the attributes corresponding to the PSOID.
Help me out.
Try with "returnData="everything"
<lookupRequest returnData="everything" xmlns="urn:oasis:names:tc:SPML:2:0">
<psoID ID="Users:1203">
</psoID>
</lookupRequest>
Thanks
INIYA.
Similar Messages
-
401 Error on trying to connect to SPML provider - Quest
Hi,
We are using the Quest Active Roles server as the SPML provider with Sun Idm 8.1.0.9. While trying to establish a connection to the SPML provider, I am getting the following error. The username/password are corect because I can login to the server using the same userid/password when I try through the IE. Also, another team member is able to make the connection. We are using the same Java code and same credentials.
java.io.IOException: Server returned HTTP response code: 401 for URL: http://192.168.5.229/ARServerSPML/SPMLProvider.asmx
Exception in thread "main" org.openspml.v2.util.Spml2Exception: java.io.IOException: Server returned HTTP response code: 401 for URL: http://192.168.5.229/ARServerSPML/SPMLProvider.asmx
at org.openspml.v2.client.Spml2Client$SimpleSOAPClientAdapter.send(Spml2Client.java:108)
at org.openspml.v2.client.Spml2Client.send(Spml2Client.java:276)
at org.openspml.v2.client.Spml2Client.send(Spml2Client.java:237)
at com.sun.idm.rpc.spml2.SessionAwareSpml2Client.send(SessionAwareSpml2Client.java:117)
at com.sun.idm.rpc.spml2.SessionAwareSpml2Client.login(SessionAwareSpml2Client.java:163)
at com.williams.idm.util.SPMLClient.connect(SPMLClient.java:70)
at com.williams.idm.util.SPMLClient.main(SPMLClient.java:55)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://192.168.5.229/ARServerSPML/SPMLProvider.asmx
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
at org.openspml.v2.client.SimpleSOAPClient.sendAndReceive(SimpleSOAPClient.java:135)
at org.openspml.v2.client.Spml2Client$SimpleSOAPClientAdapter.send(Spml2Client.java:105)
... 6 more
Java Result: 1
Here is the code I am using:
private static void connect() throws Spml2Exception {
if (client == null) {
client = new SessionAwareSpml2Client(url);
if (loginInfo == null || !loginInfo.isValid()) {
loginInfo = client.login(username, password);
}Hi,
That was already done, that's the first thing I've done but the same error occurs. No matter the CUID of my universe I still get this error.
I still try to find an answer on forums or sap notes but at the moment, nothing. -
Generic connector with webservice and SPML provider
Hi,
I have created a Generic connector in Oracle Identity server successfully with Webservice transport porvider and SPML payload provider. But when I am trying to create a user using this connector I am getting following error in OIM server log:
AJPRequestHandler-RMICallHandler-20 XELLERATE.WEBAPP - Setting the response code as GCPROV.ProvTransportProvider.WebServices.Caught exception while handling request: malformed array t
Can anyone please help me regarding this? I am even not able to identify where it is getting failed.
Thanks in advanceThis is what I've found in the docs:
"Each SPML request is sent in a SOAP message. The SOAP header carries authentication information for the request. The actual SPML request data is the SOAP message body. "
All I'm trying to do is create a SOAP web service (in this case with Java 6, but that's not fundamental) that can intercept that message and grab the SPML request (and then do what I have to do).
I tried with something like the following code:
package wsspml;
import javax.jws.WebService;
import java.io.IOException;
import java.util.logging.*;
@WebService
public class SPMLServer {
public String processRequest(String requestData) {
but it won't work. It's like the exposed SOAP method "processRequest" is invisible. It's not being called. Perhaps the signature is wrong. I don't know what to make of it. I'm trying to understand how to grab that SPML request that's coming from OIM through the custom generic technology connector that I configured. -
OIM should send spmlv2 requests via java code to service provider
Hi,
We have the situation in which OIM acts as Requesting authority,Spml provider acts as service provider.
Oim should send spml requests from custom java code.Spml2Client is used.We are not using genericc technology connector.
Require sample java code for Search operation.
I had done for modify request.
The request and response is as follows
PSO ID returned after searching: org.openspml.v2.msg.spml.PSOIdentifier@5c32a864
<deleteRequest xmlns='urn:oasis:names:tc:SPML:2:0' recursive='false'/>
<deleteResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='success'/>
<modifyRequest xmlns='urn:oasis:names:tc:SPML:2:0' returnData='identifier'>
<psoID ID='cn=TPS User8,ou=TPS,dc=fosterstechodc,dc=com'/>
<modification modificationMode='replace'>
<data>
<dsml:modification xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='otherHomePhone' operation='replace'>
<dsml:value>999999</dsml:value>
</dsml:modification>
</data>
</modification>
<modification modificationMode='delete'>
<data>
<dsml:modification xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='description' operation='delete'>
</dsml:modification>
</data>
</modification>
<modification modificationMode='add'>
<data>
<dsml:modification xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='firstname' operation='add'>
<dsml:value>Barbara</dsml:value>
</dsml:modification>
</data>
</modification>
</modifyRequest>
SpmlClient: sending to http://10.101.151.209/ARServerSPML/SPMLProvider.asmx
<modifyRequest xmlns='urn:oasis:names:tc:SPML:2:0' returnData='identifier'>
<psoID ID='cn=TPS User8,ou=TPS,dc=fosterstechodc,dc=com'/>
<modification modificationMode='replace'>
<data>
<dsml:modification xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='otherHomePhone' operation='replace'>
<dsml:value>999999</dsml:value>
</dsml:modification>
</data>
</modification>
<modification modificationMode='delete'>
<data>
<dsml:modification xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='description' operation='delete'>
</dsml:modification>
</data>
</modification>
<modification modificationMode='add'>
<data>
<dsml:modification xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='firstname' operation='add'>
<dsml:value>Barbara</dsml:value>
</dsml:modification>
</data>
</modification>
</modifyRequest>
SpmlClient: received
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><modifyResponse status="failure" xmlns="urn:oasis:names:tc:SPML:2:0"><error>malformedRequest</error><errorMessage>At least one <modification> element must be specified.</errorMessage></modifyResponse></soap:Body></soap:Envelope>
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><modifyResponse status="failure" xmlns="urn:oasis:names:tc:SPML:2:0"><error>malformedRequest</error><errorMessage>At least one <modification> element must be specified.</errorMessage></modifyResponse></soap:Body></soap:Envelope>
org.openspml.v2.util.Spml2ExceptionWithResponse: At least one <modification
The response says the modifaction tag is not present.
The code for this request is
Modification[] modifications =
{ newModWithDSMLMod("otherHomePhone", "999999", ModificationMode.REPLACE),
newModWithDSMLMod("description", null, ModificationMode.DELETE),
newModWithDSMLMod("cn", "Barbara", ModificationMode.REPLACE)};
modifyResp = customSPMLClient.modifyUser(client,searchPSOId,modifications);
method:
public ModifyResponse modifyUser(Spml2Client client,PSOIdentifier psoId,Modification[] modifications) throws Exception {
client.setTrace(true);
ReflectiveXMLMarshaller marshaller = new ReflectiveXMLMarshaller();
ModifyRequest modReq = new ModifyRequest(null, // String requestId,
null, // ExecutionMode executionMode,
psoId, // PSOIdentifier psoID
modifications, // Modification[] modifications
ReturnData.IDENTIFIER // ReturnData returnData
System.out.println(modReq.toXML(marshaller));
ModifyResponse modResp = (ModifyResponse) client.send(modReq);
System.out.println(modResp.toXML(marshaller));
return modResp;
private static Modification newModWithDSMLMod(String modName, String modValue, ModificationMode modMode)
throws DSMLProfileException
/*DSMLModification dsmlMod = null;
dsmlMod = new DSMLModification(modName, modValue, modMode);
Extensible data = new Extensible();
data.addOpenContentElement(dsmlMod);
Selection component = null;
return new Modification(component, data, null, modMode);
Please help me out.
I need sample java code for search operation tooo.
regards,
Sindhu.Mthe sample JAVA codes are provided for sending SPML requests, HTTPClient and one more (i dont remember rite now) within the OIM installation folders itself. It's in the 'SampleHttpClient' folder. Check it once. WSDL, sample XML's and the JAVA codes all are there. You just need to set the classpath and run it.
- oidm. -
I am trying to provision a record and I am getting this error, Can anybody point me where I could have possibly gone wrong?
The response received is:
Response: SPML Response failed V2 schema validation
Response Description: SPML Response received is not compliant with the SPML V2 standard specifications.
Notes
WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.GC.PROVIDER.PROVISIONINGFORMAT - SPML Request validation result w.r.t SPML v2 CORE schema(pstc_spmlv2_core.xsd)-->true
WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.GC.PROVIDER.PROVISIONINGTRANSPORT - WSProvisioningTransportProvider.initialize :webServiceSOAPAction is not defined
ERROR [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.GC.PROVIDER.PROVISIONINGTRANSPORT - Erratic SOAP/SPML response
ERROR [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.GC.PROVIDER.PROVISIONINGTRANSPORT - WSProvisioningTransportProvider.sendData :problem with private methods
com.thortech.xl.gc.exception.ProvisioningTransportException: SPMLRESPONSE_FAIL_SCHEMA_VALIDATION
at com.thortech.xl.gc.impl.prov.WSProvisioningTransportProvider.getSOAPMessage(Unknown Source)
at com.thortech.xl.gc.impl.prov.WSProvisioningTransportProvider.sendData(Unknown Source)
at com.thortech.xl.gc.runtime.GCAdapterLibrary.executeFunctionality(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpDBSPMLPROV_GTC.GENERICADAPTER(adpDBSPMLPROV_GTC.java:125)
at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpDBSPMLPROV_GTC.implementation(adpDBSPMLPROV_GTC.java:70)
at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown Source)
at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unknown Source)
at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(Unknown Source)
at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(Unknown Source)
at com.thortech.xl.ejb.beans.tcFormInstanceOperationsSession.setProcessFormData(Unknown Source)
at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_EOImpl.setProcessFormData(tcFormInstanceOperations_2j82mm_EOImpl.java:1560)
at Thor.API.Operations.tcFormInstanceOperationsClient.setProcessFormData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy70.setProcessFormData(Unknown Source)
at com.thortech.xl.webclient.actions.DirectProvisionUserAction.handleVerifyProcessData(Unknown Source)
at com.thortech.xl.webclient.actions.DirectProvisionUserAction.goNext(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.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:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: com.thortech.xl.gc.exception.XSDValidationException: The SOAP response does not contain a valid SPML response type. Should be one of these -->addResponse modifyResponse deleteResponse resumeResponse suspendResponse setPasswordResponse
at com.thortech.xl.gc.impl.prov.WSProvisioningTransportProvider.extractSPMLResponseFromSOAP(Unknown Source)
... 70 moreIt would be helpful to see the response coming back from the SPML service. You can either turn up the logging in OIM to DEBUG for the keys
XELLERATE.GC.SPML.PROVIDER.PROVISIONINGFORMAT
and
XELLERATE.GC.PROVIDER.PROVISIONINGFORMAT
and capture the response that way, or proxy it through a tool like SoapUI.
Eric -
Hi all,
Anybody has succesfully integrated Active MQ with Weblogic 9.x. Its not working for me.
plz help.
I get getting a wide range of errors.
Thnx in advance.We are just beginning proof of concepts with Active Roles integration (managing AD objects) using Quest Active Roles SPML provider. Has anyone else used this? We are using the custom HTTPIWA2 adapter (until we upgrade to newscale 9) doing webservice calls. I'm particularly interested in snippets of XSLT code to transform the inbound message from Active Roles.
-
Generic Connector - Web Services - Format provider other than SPML?
Hi.
Using OIM, I need to "talk" with Windows Sharepoint [Web] Services in order to provisioning an user (actualy, I need to associate a user to a Sharepoint Group).
To do that, I'm exploring the Generic Technology Connector capabilities.
From what I understand reading the documentation, the target Web Services have to "understand" the "SPML" format provider standard, and I didnt have found any evidences that the Sharepoint Services are SPML compliant.
So, my questions are:
1) Anyone knows of a GTC talking with Web Services non-SPML compliant (in particular, Microsoft-branded Web Services)?
2) Are there alternative ways of doing what I need (using the Generic Connector... or not)?
Thanks in advance.the way we did it was to get the wsdl of the service you need to talk to.
try and create the client stubs with axis or xfire (depending on which version of axis you may need other than rpc/encoded format) create the standalone client to test you service.
once you get it working take you client code, jar it up into the ThirdParty directory along with the required jars for the service implementation.
then write your adapter using the code from the your client jar.
Fred -
GTC Connector using SPML Format Provider and Web Services Transport Provide
Hello All,
Did any body create a GTC connector which uses SPML Format for Format Provider and Web Services format for Transport Provider?
Is there any doc which talks about the same?
I need to provision to a system over web services and I thought GTC using the above formats should be an easy approach. Am I right?
I was trying to follow:
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/devgtc.htm#BABDFDFE
But Iam getting lost in the immerse details.
Thanks in advance.Hi ,
I tried creating one and am getting the following error while provisioning:
SPML Response failed V2 schema validation
Th eoracle document says :Ensure that the SPML response returned by the target system conforms to the SPML V2 standard specification
Please help me with the same. What is it that needs to be done here.
Thanks
WIP -
SPML Generic Provider OIM 9.1
Hi,
In the document of OIM 9.1 it is written while describing predefined GTC that
SPML GTC generates following SPML requests
Add request
Modify request for the following Oracle Identity Manager process tasks:
Field updated
Add child data
Modify child data
Delete child data
Suspend request (for Disable Oracle Identity Manager process tasks)
Resume request (for Enable Oracle Identity Manager process tasks)
Delete request
Can anyone tell me what is the meaning of Suspend Request and resume Request? Dose it mean that it can suspend any pending task..suppose I have requested for a resource and it is in pending condition and then I want to suspend it. Am I correct? If yes, then it means these two requests can be used only in Asynchronous mode.....?
ThanksThere 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.
-
Error obtained while provisioning using a GTC connector through SPML
Hi,
I am getting the following error while provisioning a resource using GTC and SPML... have created GTC and provisioning process ..is working for 1 instance (workflow) but have created a new instance with the same connector which is failing during the provisioning process and I am getting the below error.pLZ HELP. .
WARN,21 Apr 2010 20:02:06,039,[XELLERATE.GC.PROVIDER.PROVISIONINGFORMAT],SPML Request validation result w.r.t SPML v2 CORE schema(pstc_spmlv2_core.xsd)-->true
DEBUG,21 Apr 2010 20:02:06,039,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader entered.
DEBUG,21 Apr 2010 20:02:06,039,[XELLERATE.ADAPTERS],Class/Method: tcADPClassLoader/getClassLoader left.
WARN,21 Apr 2010 20:02:07,336,[XELLERATE.GC.PROVIDER.PROVISIONINGTRANSPORT],SPML Response validation result w.r.t SPML v2 CORE schema(pstc_spmlv2_core.xsd)-->true
WARN,21 Apr 2010 20:02:07,352,[XELLERATE.GC.PROVIDER.PROVISIONINGTRANSPORT],1. <errorMessage> present in SPML response is -->errorMessage=Retrieving the COM class factory for component with CLSID {BC8E841F-B86D-49E9-9422-3426C9B99FAF} failed due to the following error: 8000401a.
ERROR,21 Apr 2010 20:02:07,352,[XELLERATE.GC.PROVIDER.PROVISIONINGTRANSPORT],WSProvisioningTransportProvider.sendData :problem with private methods
com.thortech.xl.gc.exception.ProvisioningTransportException: SPML_RESPONSE_ERRORCODE_CUSTOM
at com.thortech.xl.gc.impl.prov.WSProvisioningTransportProvider.checkSPMLRespoenseError(Unknown Source)
at com.thortech.xl.gc.impl.prov.WSProvisioningTransportProvider.getSOAPMessage(Unknown Source)
at com.thortech.xl.gc.impl.prov.WSProvisioningTransportProvider.sendData(Unknown Source)
at com.thortech.xl.gc.runtime.GCAdapterLibrary.executeFunctionality(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
Edited by: user9340488 on 21/04/2010 23:05Got the errors.
1) DB_STATUS.. error was coming since the lookup I gave there was not actually created in the database due to a refresh I did while creating it effectively deleting all the entered data.
2) The error in logs was coming due to wrong input of the GTC database provider during the creation of IT Resource. -
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'); -
Hi All,
I am working on SPML module of OIM. Really appreciate if someone could tell me the madness behind my curiosity
1. Through SPML can we set/recover User’s Challenge Question answer? I went through the search query response and couldn’t able to locate any attribute against which these values have been set.
2. Another issue is that if I didn’t provide any organization to user while self-registration it doesn’t get provisioned with success result. I was expecting here that request should go to Admin Pending items but couldn’t able to locate it. Can’t we achieve the Self-registration type scenario that OIM provides by default through SPML?
3. How can we assign the target resources to user (LDAP, RCAF etc) through SPML so that user’s account gets provisioned in these resources? Also if we want to trigger some process (Workflow), how can this be done using SPML.
Thanks
AmitAny clue??
-
GTC connectors and SPML compliant
Hi
I am trying to integrate a target application using GTC connector transport providers as web services and Format providers as SPML and even i have to create a dummy web service which is compliant with SPML so that it can be integrated with OIM.
can any one pl help me to create a Dummy webservice compliant OIM SPML?
Web services shud be created using Java.The web service needs to store data the in txt file and send a response to OIM.Make sure you are exporting the Generic Connector type object, and not the Resource Object. There are configurations that only come when you export this way. Otherwise you only get the resource and process definition workflow, and none of the configurations.
You might also need to export the provider definition as well and import.
-Kevin -
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,
ragAny suggestions please..!!!
Experts please reply... -
How to create a user using spml call
Hello,
I am trying to create an user in idm using spml call. I have also imported spml.xml into idm. I m using LighthouseClient class to set the user attributes. After authenticating to idm i m sending the request to rpcrouter2 on localhost via client.request(req); But i m getting error
com.waveset.util.InternalError: Unable to locate view handler for 'user'. Why cant i create a user in IDM from a command line program. Do i need to call this program from a workflow only ? Is it necessary?
thanks in advance
ravihi All,
I am working with Idm7.1 and using SPML to write command-line programe to work with Idm7.1
getting a guideline from all your post I started with few sample code and got stucked ... Can any of you answer me ....
Why Can't i do the following in IDM from a command line program using SPML.
Add a User
Delete a User
Modify a User
Search for a User
I am using following code to create user:-
------ CODE--------
LighthouseClient client = new LighthouseClient();
client.setUrl("http://localhost:8080//idm/servlet/rpcrouter2");
client.setUser("configurator");
client.setPassword("configurator");
AddRequest req = new AddRequest();
req.setOperationalAttribute("trace", "true");
req.setObjectClass("person");
req.setIdentifier("user1");
req.setAttribute("password", "abcd");
req.setAttribute("gn", "showmen");
req.setAttribute("sn", "majumdar");
req.setAttribute("email", "[email protected]");
SpmlResponse res = client.request(req);
System.out.println("Response from Server->"+res.getResult());
System.out.println("Error from server->"+res.getError());
The output Reflect's as:-
------------OUT-PUT--------
init:
deps-jar:
compile-single:
run-single:
Response from Server->urn:oasis:names:tc:SPML:1:0#failure
Error from server->null
BUILD SUCCESSFUL (total time: 5 seconds)
---------------------XXXXX------------------------
I am currently using Idm7.1 and when i try to Import spml.xml file it throws some Weird Exception
where as spml2.xml can import without any Exception.
After all these when i loging to Idm7.1 using login.jsp as -u "configurator" -p "configurator"
there is no new user created .....
likewise all the sample code provided is throwing exception's ....
Can any of you please send me some guideline to figureout these
Thank's
Showmen Majumdar
e-mail: [email protected]
Wipro Technology
Bangalore.
Maybe you are looking for
-
In May I moved all of my itunes content (movies, music, podcasts, app, books) to a networked attached storage device. Long story short, recently I had problems with some content missing/being deleted. Lacie, the hard drive mfg, told me the public s
-
Hi Guys, I have a requirement like i need to save delivery header texts in VL02N transaction while creation of return delivery order, can any one tell the which user exit or BADI.. Regards, mahendar .
-
Hello, Trying to implement EMET 4.1 update 1 in a VDI environment using group policy. When all default protections are enabled (IE, recommended and popular) EMET is blocking the startup of windows media player within citrix session as caller mitigati
-
Workflow Admin Signature Evidence Store Setup
Hi All, We usually purge/truncate workflow history tables periodically for performance reasons. But, business requirements dictate we maintain the proof of approval for some transactions as long as seven years. For this we came to know that oracle pr
-
When I open Gmail safari start loading the page, but in a few second the coloured spinning weel appears and i have to force quitting. I have read the other posts about similar problems and tried the apple troubleshooting for Safari. All i can do is t