Hello

Using IDM 4.5.2
Trying to associate a role with a dynamic resource using SOAP by using
the integration activity in a workflow.

If I call createResourceAssociationRequest using SOAP then it works but
not from the integration activity.

I get this error:

Detail:
<ns1:NrfServiceException xmlns="http://www.novell.com/role/service"
xmlns:ns1="http://www.novell.com/role/service">
<reason>Unexpected exception occurred making call to [Nrf]
webservice.</reason>
</ns1:NrfServiceException>

<stackTrace xmlns=""
xsi:type="xsd:string">com.novell.idm.nrf.soap.ws.N rfServiceException
at
com.novell.idm.nrf.soap.ws.NrfServiceHelper.conver tToNrfServiceException(NrfServiceHelper.java:111)
at
com.novell.idm.nrf.soap.ws.role.impl.RoleServiceSk eletonImpl.createResourceAssociation(RoleServiceSk eletonImpl.java:1107)
at
com.novell.idm.nrf.soap.ws.role.IRemoteRole_Servic eSkeleton._invoke(IRemoteRole_ServiceSkeleton.java :776)
at
com.novell.soa.ws.server.ServletSkeleton.invokeEnd Point(ServletSkeleton.java:208)
at
com.novell.soa.ws.impl.soap.MessageHandlerInvoker. invokeServerMessageHandlers(MessageHandlerInvoker. java:348)
at
com.novell.soa.ws.impl.soap.SOAPHandler.handleServ erRequest(SOAPHandler.java:84)
at
com.novell.soa.ws.impl.rpc.ServerDelegateImpl.hand leServerRequest(ServerDelegateImpl.java:92)
at
com.novell.soa.ws.server.ServletSkeleton.handleReq uest(ServletSkeleton.java:107)
at
com.novell.soa.ws.server.ServletSkeleton.doPost(Se rvletSkeleton.java:317)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at com.novell.common.auth.JAASFilter.doFilter(JAASFil ter.java:145)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at
com.novell.common.auth.saml.AuthTokenGeneratorFilt er.doFilter(AuthTokenGeneratorFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at com.novell.common.auth.sso.SSOFilter.doFilter(SSOF ilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at
com.novell.soa.common.i18n.BestLocaleServletFilter .doFilter(BestLocaleServletFilter.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at
org.apache.tomcat.websocket.server.WsFilter.doFilt er(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at
com.novell.common.HttpSecurityHeadersFilter.doFilt er(HttpSecurityHeadersFilter.java:132)
at
org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:103)
at
org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.p rocess(AbstractHttp11Processor.java:1070)
at
org.apache.coyote.AbstractProtocol$AbstractConnect ionHandler.process(AbstractProtocol.java:611)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProce ssor.run(JIoEndpoint.java:314)
at
java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
</stackTrace>




This is the SOAP UI call that works:


<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://www.novell.com/role/service">
<soapenv:Header/>
<soapenv:Body>
<ser:createResourceAssociationRequest>
<!--Optional:-->
<ser:resourceAssociation>
<ser:approvalOverride>false</ser:approvalOverride>
<ser:dynamicParameters>
<!--Zero or more repetitions:-->
<ser:dynamicparameter>
<ser:expression>false</ser:expression>
<ser:key>EntitlementParamKey</ser:key>
<ser:value>{"ID":"xxxxxxx"}</ser:value>
</ser:dynamicparameter>
</ser:dynamicParameters>
<!-- <ser:entityKey>?</ser:entityKey>
-->
<ser:localizedDescriptions>
<!--Zero or more repetitions:-->
<ser:localizedvalue>
<ser:locale>sv</ser:locale>
<ser:value>Behrighetskategori</ser:value>
</ser:localizedvalue>
</ser:localizedDescriptions>

<ser:resource>CN=xxxxx,CN=ResourceDefs,CN=RoleConf ig,CN=AppConfig,CN=UserApplication,CN=DriverSet01, OU=System,O=xxxxxx</ser:resource>

<ser:role>CN=3b40e97bd05c7487f7c82e70e4bab0403bb98 68,CN=AccessCategories,CN=Level10,CN=RoleDefs,CN=R oleConfig,CN=AppConfig,CN=UserApplication,CN=Drive rSet01,OU=System,O=xxxxxx</ser:role>
<ser:status>0</ser:status>
</ser:resourceAssociation>
</ser:createResourceAssociationRequest>
</soapenv:Body>
</soapenv:Envelope>