问题
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.
来源:https://stackoverflow.com/questions/29648586/spring-ws-wsa-header-contains-hardcoded-mustunderstand-attribute