Hi,

can anybody explain me how to get out of this problem ?

In file [EI-HOME]/conf/synapse.properties
        synapse.xpath.dom.failover.enabled=true

This is my filter mediator :
         <filter source="get-property('To')" regex=".+/[^/]+-[^/]+">
            <then>
               <property name="codeFourniA" 
expression="fn:tokenize(syn:get-property('To'),'-')" scope="default" 
type="STRING" description="codeFourniA"/>
               <property name="codeFourniB" 
expression="$ctx:codeFourniA[last()]" scope="default" type="STRING" 
description="codeFourniB"/>
            </then>
            <else/>
         </filter>

[2018-03-01 10:15:38,013] [EI-Core] DEBUG - SynapseXPath AXIOM xpath evaluation 
failed with UnresolvableException, trying to perform DOM based XPATH
org.jaxen.UnresolvableException: No Such Function tokenize
        at 
org.jaxen.SimpleFunctionContext.getFunction(SimpleFunctionContext.java:127)
        at 
org.apache.synapse.util.xpath.SynapseXPathFunctionContext.getFunction(SynapseXPathFunctionContext.java:101)


(no problem with another function call like "concat")

Thanks,
Bernard
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to