Spring-WS WSA header contains hardcoded mustUnders

2019-03-04 14:47发布

问题:

When sending WSA headers with Spring-WS, the wsa:To field always contains the attribute mustUnderstand="true". By looking at the source code, I found that this attribute is hardcoded in AbstractAddressingVersion.java. Based on the W3 standard the mustUnderstand attribute is not mandatory I think.

Is there a reason why Spring-WS hardcodes it? We have difficulties when integrating Spring-WS with some other SOAP stacks because of this attribute.

回答1:

If you file a JIRA here, we can make it customizable.



标签: spring-ws