cxf:proxy-client [java.lang.Exception:没有这样的操作]

时间:2012-08-15 16:00:32

标签: mule

当我尝试将Web服务用作CXF代理客户端时,我收到No Such Operation异常。我没有正确配置CXF代理客户端?我会感激任何反馈。

我的流量和异常细节如下所述。

<flow name="XML121Order">
    <jms:inbound-endpoint queue="mviq.121.order" />
    <outbound-endpoint address="https://www.example.com/appsacord/acordwebs.asmx" 
                       exchange-pattern="request-response" >
        <cxf:proxy-client operation="AppsAcord" 
                          payload="body" 
                          enableMuleSoapHeaders="false" />
    </outbound-endpoint>

    <xm:object-to-xml-transformer />

    <logger message="File payload is #[payload]" level="INFO" />

    <file:outbound-endpoint path="/eip/mvi/output" 
                            outputPattern="apps_xml121-[function:dateStamp]" />
</flow>

异常堆栈是:

  1. 没有这样的操作:AppsAcord(java.lang.Exception) org.mule.module.cxf.CxfOutboundMessageProcessor:279(null)
  2. 没有这样的操作:AppsAcord(java.lang.Exception)(org.mule.api.DefaultMuleException) org.mule.module.cxf.CxfOutboundMessageProcessor:141(http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/DefaultMuleException.html

  3. Root异常堆栈跟踪:

    java.lang.Exception: No such operation: AppsAcord
        at org.mule.module.cxf.CxfOutboundMessageProcessor.getOperation(CxfOutboundMessageProcessor.java:279)
        at org.mule.module.cxf.CxfOutboundMessageProcessor.getOperation(CxfOutboundMessageProcessor.java:360)
        at org.mule.module.cxf.CxfOutboundMessageProcessor.doSendWithClient(CxfOutboundMessageProcessor.java:200)
        at org.mule.module.cxf.CxfOutboundMessageProcessor.process(CxfOutboundMessageProcessor.java:127)
        at org.mule.endpoint.outbound.OutboundResponsePropertiesMessageProcessor.process(OutboundResponsePropertiesMessageProcessor.java:39)
        at org.mule.processor.TransactionalInterceptingMessageProcessor$1.doInTransaction(TransactionalInterceptingMessageProcessor.java:49)
        at org.mule.processor.TransactionalInterceptingMessageProcessor$1.doInTransaction(TransactionalInterceptingMessageProcessor.java:46)
        at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:116)
        at org.mule.processor.TransactionalInterceptingMessageProcessor.process(TransactionalInterceptingMessageProcessor.java:55)
        at org.mule.processor.AbstractFilteringMessageProcessor.process(AbstractFilteringMessageProcessor.java:41)
        at org.mule.endpoint.DefaultOutboundEndpoint.process(DefaultOutboundEndpoint.java:96)
        at org.mule.interceptor.AbstractEnvelopeInterceptor.process(AbstractEnvelopeInterceptor.java:55)
        at org.mule.processor.AsyncInterceptingMessageProcessor.processNextTimed(AsyncInterceptingMessageProcessor.java:118)
        at org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker.doRun(AsyncInterceptingMessageProcessor.java:164)
        at org.mule.work.AbstractMuleEventWork.run(AbstractMuleEventWork.java:43)
        at org.mule.work.WorkerContext.run(WorkerContext.java:309)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
        at java.lang.Thread.run(Unknown Source)
    

0 个答案:

没有答案