Hi,
I'm trying to call a java class from a policy:

Action:
do-set-local-variable("association",scope="policy",token-xpath("UARoleTools:setResourceAssociation($host,$p ort,$context,$username,$password,$role-dn,$ressource-dn)")).
arg-string(token-xpath("UARoleTools:setResourceAssociation($host,$p ort,$context,$username,$password,$role-dn,$ressource-dn)"))
token-xpath("UARoleTools:setResourceAssociation($host,$p ort,$context,$username,$password,$role-dn,$ressource-dn)")

I'm getting this error:
Error evaluating XPATH expression
'token-xpath("UARoleTools:setResourceAssociation($host,$p ort,$context,$username,$password,$role-dn,$ressource-dn)")'
: com.novell.xml.xpath.XPathEvaluationException: function call to
'UARoleTools:setResourceAssociation' resulted in an error:
'java.lang.Exception'.

My class is public, the method is public static void, I put the jar
file in /opt/novell/eDirectory/lib/nds-modules/dirxml/classes


--
moularbi
------------------------------------------------------------------------
moularbi's Profile: http://forums.novell.com/member.php?userid=110833
View this thread: http://forums.novell.com/showthread.php?t=457239