English 中文(简体)
Mule CXF 消费网络服务
原标题:Mule CXF consuming webservice
  • 时间:2012-05-25 12:06:03
  •  标签:
  • mule

我正使用 cxf:jaxws-service 创建一个骡子网络服务。 这是 url : http:// localhost: 65042/ InsertDocService/ InsertDoc, 我以 ablie 生成 WSDL 文件, 但我想要用 cxf:jaxws-client 来在骡子中消费这项服务 。

<flow name="documentumclientflowFlow1" doc:name="documentumclientflowFlow1">
    <inbound-endpoint address="http://localhost:65042/InsertDocumentumService/InsertDocumentum" doc:name="Generic"/>
    <cxf:jaxws-client operation="insertDocumentum" serviceClass="com.integration.IDocumentumInsert" port="80" mtomEnabled="true" enableMuleSoapHeaders="true" doc:name="SOAP"/>
    <outbound-endpoint address="http://locahhost:65042/InsertDocumentumService/InsertDocumentum" doc:name="Generic"/>
</flow>

如果我引用了这个, 它将会进入服务项目, 并获得像"org.apache. cxf. interphenor. fault: no service: (HTTP Get PATH_INFO:/InsertDocumentum Service/InsertDocumentumum)"这样的错误。 请任何人建议我如何解决这个问题, 以及如何消耗这项服务 。

问题回答

除了类型( locahhost 而不是 localhost )之外,它看起来似乎还试图在外向端点使用与内向端点相同的地址。 我不认为这是你想做的,因为它会导致循环重通电话,最终会耗尽池线、块线、断线、断线和死在火中。

您想用“ DocumentumclientflowFlow1” 做什么? 您的问题不清楚 。





相关问题
Mule ESB - How to get MimeMessage instead of MimeBodyPart?

I m trying to get the FROM email address in Mule ESB. I m getting the retrieved object as MimeBodyPart, I d like to have MimeMessage instead. How to do this? Any solution - either in Mule or Java is ...

JaxWsProxyFactoryBean for Mule CXF transport?

I am new to mule. Are there any way to call CXF based web services using JaxWsProxyFactoryBean? It will be nice to reuse Java interface instead of wsdl files. With CXF we can simply reuse our java ...

Drools, spring and mule

Has anyone combined these technologies? Could you share lessons learnt?

How to keep inbound host with custom Mule ESB router

I created a custom router with one endpoint. The custom router looks up the destination of the endpoint based on the URL parameters of the inbound URL. I have an example of this up and running, and I ...

热门标签