I've been trying use Developer Studio to get a PayloadFactory Mediator to populate an argument from an expression get-property('PropertyName').
When I try to switch from Design to Source view, I get the following error:
Cannot update source view. The following error(s) have been detected. Please see the error log for more details.
Reason: XPathFactory#newInstance()failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: bundleresource://1009.fwk1013423070:21/META-INF/services/java.xml.xpath.XPathFactory2: Illegal configuration-file syntax
However if I edit the PayloadFactory directly on the running ESB as follows, it works fine.
<args>
<arg xmlns:ns="http://org.apache.synapse/xsd" expression="get-property('PropertyName')" evaluator="xml"></arg>
</args>