Trying to set up a parent-child role relationship using a SOAP call.
I've seen several posts on this but I am getting an exception when I try
to do this. Not sure where the DAL issue would be, UA itself seems to be
OK, RRSD and UA drivers are running...

Help appreciated.
Thanx
Rob

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://www.novell.com/role/service">
<soapenv:Header/>
<soapenv:Body>
<ser:requestRolesAssignmentRequest>
<!--Optional:-->
<ser:assignRequest>
<ser:actionType>grant</ser:actionType>
<ser:assignmentType>ROLE_TO_ROLE</ser:assignmentType>
<ser:correlationID>2</ser:correlationID>
<!--
<ser:effectiveDate>?</ser:effectiveDate>
<ser:expirationDate>?</ser:expirationDate>
-->
<ser:identity>cn=China -
Shanghai,cn=locations,cn=Level30,cn=roledefs,cn=ro leconfig,cn=appconfig,cn=user
application driver,cn=driver set,o=system</ser:identity>
<serriginator>me</serriginator>
<ser:reason>because</ser:reason>
<ser:roles>
<!--Zero or more repetitions:-->
<ser:dnstring>

<ser:dn>cn=China,cn=countries,cn=Level20,cn=rolede fs,cn=roleconfig,cn=appconfig,cn=user
application driver,cn=driver set,o=system</ser:dn>
</ser:dnstring>
</ser:roles>
<ser:sodOveridesRequested/>
</ser:assignRequest>
</ser:requestRolesAssignmentRequest>
</soapenv:Body>
</soapenv:Envelope>

the response is

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>Client</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<ns1:NrfServiceException
xmlns="http://www.novell.com/role/service"
xmlns:ns1="http://www.novell.com/role/service">
<reason>DAL communication error.</reason>
</ns1:NrfServiceException>
<stackTrace
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.requestRolesAssignment(RoleServiceSkele tonImpl.java:376)
at
com.novell.idm.nrf.soap.ws.role.IRemoteRole_Servic eSkeleton._invoke(IRemoteRole_ServiceSkeleton.java :1342)
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
org.apache.tomcat.util.net.JIoEndpoint$SocketProce ssor.run(JIoEndpoint.java:316)
at
java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
at
org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)</stackTrace>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

LDAP trace does not show any errors.

catalina.out
2014-12-31 12:56:48,710 [http-bio-8180-exec-4] INFO
com.novell.idm.nrf.soap.ws.role.impl.RoleServiceSk eletonImpl- [RBPM] DAL
communication error.
com.novell.idm.nrf.exception.NrfException: DAL communication error.
at
com.novell.idm.nrf.service.RoleManagerService.getR ole(RoleManagerService.java:275)
at
com.novell.idm.nrf.service.RoleManagerService.requ estRolesAssignments(RoleManagerService.java:768)
at
com.novell.idm.nrf.service.RoleManagerService.requ estRolesAssignment(RoleManagerService.java:880)
at
com.novell.idm.nrf.service.RoleManagerService.requ estRolesAssignment(RoleManagerService.java:590)
at
com.novell.idm.nrf.soap.ws.role.impl.RoleServiceDe legate.requestRolesAssignment(RoleServiceDelegate. java:611)
at
com.novell.idm.nrf.soap.ws.role.impl.RoleServiceSk eletonImpl.requestRolesAssignment(RoleServiceSkele tonImpl.java:374)
at
com.novell.idm.nrf.soap.ws.role.IRemoteRole_Servic eSkeleton._invoke(IRemoteRole_ServiceSkeleton.java :1342)
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
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:123)
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:316)
at
java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:615)
at
org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.novell.srvprv.spi.vdata.exception.VirtualDataE xception:
Error occured parsing the Typed Name Syntax value #0#0
at
com.novell.srvprv.spi.vdata.util.TypedNameSyntax.v alueOf(TypedNameSyntax.java:160)
at
com.novell.srvprv.spi.vdata.util.TypedNameSyntax.v alueOf(TypedNameSyntax.java:265)
at
com.novell.srvprv.impl.vdata.model.VirtualEntityAt tribute.getTypedList(VirtualEntityAttribute.java:4 78)
at
com.novell.srvprv.impl.vdata.model.VirtualEntityAt tribute.getTypedList(VirtualEntityAttribute.java:4 50)
at
com.novell.srvprv.impl.vdata.model.VirtualEntityAt tribute.getValuesAsTypedName(VirtualEntityAttribut e.java:964)
at
com.novell.idm.nrf.persist.RoleDAO.createRole(Role DAO.java:841)
at
com.novell.idm.nrf.persist.RoleDAO.findById(RoleDA O.java:559)
at
com.novell.idm.nrf.service.RoleManagerService.getR ole(RoleManagerService.java:265)


--
rrawson
------------------------------------------------------------------------
rrawson's Profile: https://forums.netiq.com/member.php?userid=403
View this thread: https://forums.netiq.com/showthread.php?t=52500