简体   繁体   English

CXF客户端使用WS寻址将SOAP消息反序列化为null

[英]CXF client deserializes a SOAP message to null with WS addressing

I have a CXF client that uses MAPAggregator and MAPCodec for in and out interceptors to call a SOAP web service that uses WS addressing. 我有一个CXF客户端,它使用MAPAggregatorMAPCodec进行进出拦截器来调用使用WS寻址的SOAP Web服务。 I'm also logging the SOAP messages. 我也在记录SOAP消息。 It seems that the message returns correctly (the logger logs the correct response), but CXF deserializes it to null instead of the expected response class. 看来消息正确返回了(记录器记录了正确的响应),但是CXF将其反序列化为null而不是预期的响应类。

Why could that be happening? 为什么会这样呢?

通过删除拦截器中的MAPAggregatorMAPCodec ,解决了该问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM