Hi everyone,

I am trying to use the Role Webservice.
My goal is to make a call to the requestRolesAssignment function but i
keep getting errors. I didn't find where the fields to fill are
described, actually, for instance i'm not sure about which dn format i
have to use in the identity field (LDAP?, Dot?)
When i try to fill the fields and invoke the function in the test page,
i always get the same java error :

Code:
--------------------
Invocation failed: java.lang.reflect.InvocationTargetException

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.novell.soa.ws.impl.rpc.GetSupport.createEnum(G etSupport.java:1648)
at com.novell.soa.ws.impl.rpc.GetSupport.createStruct (GetSupport.java:1591)
at com.novell.soa.ws.impl.rpc.GetSupport.getParameter (GetSupport.java:1469)
at com.novell.soa.ws.impl.rpc.GetSupport.invoke(GetSu pport.java:1077)
at com.novell.soa.ws.impl.rpc.GetSupport.doGet(GetSup port.java:230)
at com.novell.soa.ws.impl.rpc.GetSupport.doGet(GetSup port.java:2253)
at com.novell.soa.ws.impl.rpc.ServerDelegateImpl.doGe t(ServerDelegateImpl.java:127)
at com.novell.soa.ws.server.ServletSkeleton.doGet(Ser vletSkeleton.java:292)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.novell.common.auth.JAASFilter.doFilter(JAASFil ter.java:103)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at com.novell.soa.common.i18n.BestLocaleServletFilter .doFilter(BestLocaleServletFilter.java:228)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:179)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:433)
at org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionV alve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.novell.soa.ws.impl.rpc.GetSupport.createEnum(G etSupport.java:1646)
... 34 more
Caused by: java.lang.IllegalArgumentException: GRANT
at com.novell.idm.nrf.soap.ws.RoleAssignmentActionTyp e.fromValue(RoleAssignmentActionType.java:101)
... 39 more


--------------------

It seems the GRANT value causes some troubles but this field is one of
the fields which are automatically filled by the test page...


Thank you for support.
SJ.


--
sjahan
------------------------------------------------------------------------
sjahan's Profile: http://forums.novell.com/member.php?userid=16002
View this thread: http://forums.novell.com/showthread.php?t=335678