调用时,Switchyard Simple Refrence Exception?

时间:2016-04-13 06:43:40

标签: java web-services soap jboss switchyard

我正在使用switchyard [我正在尝试构建简单的驼峰路线],

我所做的是以下内容:

简单的服务与camel路由引用另一个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>

StackTrace:

 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]

如果您尽快回复我,我们将非常感激

此致

0 个答案:

没有答案