-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wsa:to element is not optional [SWS-1031] #1100
Comments
Greg Turnquist commented Digging through https://www.w3.org/Submission/2004/SUBM-ws-addressing-20040810/, that document states wsa:To is a REQUIRED attribute. |
Greg Turnquist commented So a little more digging on my end, it appears there are TWO specs governing WS Addressing. And they conflict with each other.
Both of these specs have a DIFFERENT wsa namespaces, correspondingly:
This is why Spring Web Services has:
These two different concrete instances of AbstractAddressingVersion target each of these specs, allowing users to pick which spec they wish to follow. If there is a gap in what's provided and what's needed, by all means let's dive in and solve it. But the provided pull requests is inadequate to tackle it. We would need test cases for both specs, showing with and without the "to" attribute supplied, ensuring the framework acts correctly. |
Leandro commented You are right Greg. |
How can set the value of the header wsa:To if it is different that the seted in the WebServiceGatewaySupport as the DefaultUri? |
Leandro opened SWS-1031 and commented
The WS-Addressing 1.0 W3C Recomendation says the
wsa:to
property is optional:But org.springframework.ws.soap.addressing.client.ActionCallback.getTo() initializes the wsa:to property.
And even then, at AbstractAddressingVersion.addAddressingHeaders(), sets mustUnderstand = true to element.
So resulting message is:
The wsa:to property must be optional and if set, it would be nice to have the chance to configure the mustUderestand attribute value.
Affects: 2.4.2, 3.0.3
Reference URL: https://stackoverflow.com/questions/51538667/spring-ws-wsato-element-is-not-optional
Referenced from: pull request #115
The text was updated successfully, but these errors were encountered: