我正在使用 switchyard [我正在尝试构建简单的骆驼路线],
我所做的是以下内容:
引用另一个 weblogic 服务的骆驼路线的简单服务 [问题是当我尝试使用任何工具调用它时,例如我得到的错误是肥皂 UI:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>java.lang.NullPointerException: SWITCHYARD033900: No ServiceReference was found for uri [switchyard://PaltelMobileService]</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
堆栈跟踪 :
java.lang.NullPointerException: SWITCHYARD033900: No ServiceReference was found for uri [switchyard://PaltelMobileService]
at org.switchyard.component.camel.switchyard.SwitchYardProducer.lookupServiceReference(SwitchYardProducer.java:178) [switchyard-component-camel-switchyard-2.0.0.Final.jar:2.0.0.Final]
at org.switchyard.component.camel.switchyard.SwitchYardProducer.process(SwitchYardProducer.java:83) [switchyard-component-camel-switchyard-2.0.0.Final.jar:2.0.0.Final]
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) [camel-core-2.14.0.jar:2.14.0]
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:120) [camel-core-2.14.0.jar:2.14.0]
at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) [camel-core-2.14.0.jar:2.14.0]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398) [camel-core-2.14.0.jar:2.14.0]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.14.0.jar:2.14.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) [camel-core-2.14.0.jar:2.14.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) [camel-core-2.14.0.jar:2.14.0]
如果您尽快回复我,我们将不胜感激
问候,