i want use predefined method of java using java.util.uuid:randomuuid()
046b6c7f-0b8a-43b9-b35d-6489e6daee91
in place of cn, when use code in policy, gives me com\.novell\.xsl\.extensions\.javaobject@4c7261af
in place of cn.
so how can solve issue?
here policy :
<do-set-local-variable name="id1"> <arg-string> <token-xpath expression="java.util.uuid:randomuuid()"/> </arg-string> </do-set-local-variable>
try using string.valueof(id) in place of cn, id random uuid generated.
regards
Comments
Post a Comment