【问题标题】:Mule CXF web service client: "no such endpoint"Mule CXF Web 服务客户端:“没有这样的端点”
【发布时间】:2016-01-16 07:34:44
【问题描述】:

我正在尝试使用 mule 连接到带有 cxf 的肥皂 ws。我想要的只是调用带有有效负载的外部 ws 并将响应返回到流中。

我的配置看起来像这样:

<flow name="flow1">
    <http:listener config-ref="HTTP_Listener_Configuration" path="/test" doc:name="HTTP"/>
    <custom-transformer class="WsPayload" doc:name="WsPayload"/>
    <cxf:jaxws-client operation="createCustomer" decoupledEndpoint="http://localhost:8088/test" port="ServicePort" serviceClass="CustomerService" doc:name="CXF" />
</flow>

我遇到的问题是我得到了这个响应:

No such operation: createCustomer. Failed to route event via endpoint: org.mule.module.cxf.CxfOutboundMessageProcessor. Message payload is of type: CreateCustomerRequest

我几乎尝试了所有方法。我知道该服务在那里,它目前在soap ui中作为模拟服务运行。知道为什么这会失败吗?另外,在 mule 中有没有更好的方法来做到这一点?

【问题讨论】:

  • 能否发布您的 WSDL 以及您使用的是哪个版本的 Mule?

标签: java mule cxf


【解决方案1】:

您是否尝试过使用 Webservices 连接器来调用外部 WS?只要您拥有 WSDL,您就应该能够使用该连接器获取您想要的服务。

希望有帮助!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-10-17
    • 1970-01-01
    • 1970-01-01
    • 2013-06-29
    • 1970-01-01
    • 1970-01-01
    • 2014-09-04
    相关资源
    最近更新 更多