I am trying to use tokenize xpath fn in my wso2 esb proxy service. I need to split my input string based on certain condition.
But I got the following error,
SynapseXPath Evaluation of the XPath expression fn:tokenize(//SOAP-ENV:Envelope/SOAP-ENV:Body/m:subscribe/m:subscribe/m1:filter/m1:messageContent, ' and ') resulted in an error
org.jaxen.UnresolvableException: No Such Function {http://www.w3.org/2005/xpath-functions}:tokenize.
Following few blogs I have uncommented xpath 2.0 in synapse properties file in
$ESB_HOME/repository/conf
and rebooted ESB, still I got the same error.
Any inputs on this will be helpful.
Thanks in advance