I am following the link
https://www.netiq.com/communities/co...policy-part-2/ and trying to
create rest call.

my method of calling is like

<do-set-local-variable name="lvReturnXMLfromRest" scope="policy">
<arg-string>
<token-xpath expression="gwutils:exePost($lvRESTurl,$lvURLInput XML)"/>
</arg-string>
</do-set-local-variable>
Namespace definitions is:

Prefix: gwutils
URI: com.microfocus.idm.gwrest.GWUtils

When trying to access this I am getting below error:

Message: Code(-9131) Error in
vnd.nds.stream://CERN-IDV-DEV-TREE/system/idm/driverset/ASP+DRA/Subscriber/CERNREUSBPLCY-sub-ctp-EntitlementsImpl#XmlData:31
: Error evaluating XPATH expression
'token-xpath("gwutils:exePost($lvRESTurl,$lvURLInputXML)" )' :
com.novell.xml.xpath.XPathEvaluationException: function call to
'gwutils:exePost' resulted in an error:
'java.lang.NullPointerException'.

Any leads to this?


--
vineet01990
------------------------------------------------------------------------
vineet01990's Profile: https://forums.netiq.com/member.php?userid=11260
View this thread: https://forums.netiq.com/showthread.php?t=55893