作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 Mule 3 中使用 cxf:jaxws-client,我从 Web 服务调用中得到的响应是 ReleasingInputStream 类型。我曾尝试添加 http-response-to-message-transformer,但这会产生错误 - 有谁知道我如何将响应作为对象而不是 ReleasingInputStream 来检索?
非常感谢。
最佳答案
为了解决这个问题,把 <cxf-client>
内<outbound-endpoint>
部分(不是之前),通过修改以下代码
<cxf:jaxws-client
clientClass="com.xyz.services.WSServices"
port="WSServicesSoap"
wsdlLocation="classpath:wsdl-file.wsdl"
operation="GimmeDataOperation" />
<outbound-endpoint exchange-pattern="request-response" address="http://localhost:8083/OutboundService" />
ReleasingInputStream
输出到
<outbound-endpoint exchange-pattern="request-response" address="http://localhost:8083/OutboundService" >
<cxf:jaxws-client
clientClass="com.xyz.services.WSServices"
port="WSServicesSoap"
wsdlLocation="classpath:wsdl-file.wsdl"
operation="GimmeDataOperation" />
</outbound-endpoint>
关于cxf - 骡 CXF 编码(marshal)响应,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6345876/
我在 Mule 3 中使用 cxf:jaxws-client,我从 Web 服务调用中得到的响应是 ReleasingInputStream 类型。我曾尝试添加 http-response-to-me
我有一个关于 Mule 的上下文属性占位符的问题,我有两个文件是这样设置的: 首先这是一个有效的配置,其次哪个文件将优先于另一个? app1 还是 app2 文件? -S 最佳答案 将依次加载每个,
我有一个 Mule 应用程序,我在其中向多个 WebServices 发送请求并聚合我得到的响应列表,这个想法是通过从处理列表的 CustomJavaClass 返回它来获取列表的第一个响应: ret
我是一名优秀的程序员,十分优秀!