Skip to content
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

WebServiceMessageReceiverHandlerAdapter not easily overridable to produce SOAP faults [SWS-804] #884

Closed
gregturn opened this issue Oct 15, 2012 · 1 comment
Assignees
Milestone

Comments

@gregturn
Copy link
Contributor

Damon Maria opened SWS-804 and commented

WebServiceMessageReceiverHandlerAdapter has been changed recently to catch InvalidXmlException and return a HTTP 400 status code. We would like to instead return a SOAP fault with a detailed message of the parse error (I'm not certain but returning 400 is probably against the SOAP spec). This is impossible with the new implementation of WebServiceMessageReceiverHandlerAdapter without re-implementing the handle(...) method.

Could the handling of this exception (and probably the non-POST transport method) be done by a separate protected method such that it can be overridden?


Affects: 2.1 GA

Referenced from: commits 4296756

@gregturn
Copy link
Contributor Author

Arjen Poutsma commented

Fixed!

@gregturn gregturn added this to the 2.1.2 milestone Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants