且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

spring 集成中的自定义 SOAP 错误错误代码命名空间

更新时间:2023-09-04 18:56:16

这似乎是一个旧帖子,但只是想尝试提供帮助.我认为您不必担心故障代码和故障描述.在soapFault 元素中实际上有第三个字段,名为detail.此元素有两个子元素,名为 code 和 description.用它来携带故障信息.

This seems to be an old post but just wanna try to help out. I think you should not worry about fault code and faultdescription. There is actually a third field in the soapFault element whitch is named detail. This element has two subelements named code and description. Use this to carry the fault information.

查看这篇文章:http://memorynotfound.com/spring-ws-add-detail-soapfault-exception-handling/

希望这能有所帮助.谢谢

Hope this can help. Thanks