Even when I change my xpath expression, I'm still getting the following
exception:

[2011-07-25 08:53:21,601]  INFO - LogMediator To:
/services/validateXMLProxyNDV.validateXMLProxyNDVHttpEndpoint,MessageID:
urn:uuid:5bfe90fb-e623-4e47-99ef-d7987391bb88,Direction:
request,Envelope: <?xml version='1.0'
encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body>
<huisdier xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="huisdier.xsd">
   <soort>Kanarie</soort>
   <naam>Geeltje</naam>
   <geboortedatum>2000-02-15</geboortedatum>
</huisdier></soapenv:Body></soapenv:Envelope>
[2011-07-25 08:53:21,601] ERROR - ValidateMediator The evaluation of the
XPath expression /soapenv:Envelope/soapenv:Body/huisdier did not result
in an OMNode : null
[2011-07-25 08:53:21,601] ERROR - ValidateMediator Error accessing
source element : /soapenv:Envelope/soapenv:Body/huisdier
org.apache.synapse.SynapseException: The evaluation of the XPath
expression /soapenv:Envelope/soapenv:Body/huisdier did not result in an
OMNode : null
        at
org.apache.synapse.util.xpath.SourceXPathSupport.selectOMNode(SourceXPat
hSupport.java:100)
        at
org.apache.synapse.mediators.builtin.ValidateMediator.getValidationSourc
e(ValidateMediator.java:268)
        at
org.apache.synapse.mediators.builtin.ValidateMediator.mediate(ValidateMe
diator.java:114)
        at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMe
diator.java:60)
        at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMedia
tor.java:114)
        at
org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyS
erviceMessageReceiver.java:154)
        at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
        at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.
java:144)
        at
org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil
.java:89)
        at
org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(REST
Util.java:188)
        at
org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMe
thod(ServerWorker.java:403)
        at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:25
9)
        at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWor
kerPool.java:173)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:908)
        at java.lang.Thread.run(Thread.java:662)


-----------------------------------------
Visit our website! http://www.nbb.be

"DISCLAIMER: The content of this e-mail message should not be
construed as binding on the part of the National Bank of Belgium
(NBB) unless otherwise and previously stated. The opinions
expressed in this message are solely those of the author and do not
necessarily reflect NBB viewpoints, particularly when the content
of this message, or part thereof, is private by nature or does not
fall within the professional scope of its author."

Reply via email to