我正在尝试执行此url中提供的示例,但我从 xslt 收到错误消息:
TID: [0] [ESB] [2013-02-25 13:08:55,280]
ERROR {org.apache.synapse.mediators.transform.XSLTMediator} - Unable to perform XSLT transformation using : Value {name ='null', keyValue ='conf:/repository/synapse/default/local-entries/CustomerOrderInputTransfer.xslt'}
against source XPath : s11:Body/child::*[position()=1] | s12:Body/child::*[position()=1] {org.apache.synapse.mediators.transform.XSLTMediator}
org.apache.synapse.SynapseException: Error creating XSLT transformer using : Value {name ='null', keyValue ='conf:/repository/synapse/default/local-entries/CustomerOrderInputTransfer.xslt'}
at org.apache.synapse.mediators.AbstractMediator.handleException(AbstractMediator.java:293)
at org.apache.synapse.mediators.transform.XSLTMediator.createTemplate(XSLTMediator.java:389)
at org.apache.synapse.mediators.transform.XSLTMediator.performXSLT(XSLTMediator.java:232)
at org.apache.synapse.mediators.transform.XSLTMediator.mediate(XSLTMediator.java:191)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:144)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:416)
at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:576)
at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:77)
at org.apache.synapse.mediators.transform.XSLTMediator.createTemplate(XSLTMediator.java:379)
... 13 more
TID: [0] [ESB] [2013-02-25 13:08:55,282] WARN {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} - Exception encountered but no fault handler found - message dropped {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}
我对如何纠正这个错误一无所知。请帮忙