我在 mule 流中使用 CXF JAX-WS 来访问服务。
我能够成功访问它。
有什么方法可以在发送之前查看正在发送到服务的消息吗?
最佳答案
尝试记录迭代器。
<cxf:jaxws-client clientClass="com.example.MyexampleService"
wsdlLocation="MyService.wsdl"
operation="sayHello" port="MyServicePort"
doc:name="SOAP">
<cxf:outInterceptors>
<spring:bean id="outLogger"
class="org.apache.cxf.interceptor.LoggingOutInterceptor" />
</cxf:outInterceptors>
</cxf:jaxws-client>
关于mule - 在将 SOAP 消息发送到使用服务之前查看该消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14486011/