[SWS-804] WebServiceMessageReceiverHandlerAdapter not easily overridable to produce SOAP faults Created: 15/Oct/12  Updated: 30/Nov/12  Resolved: 30/Nov/12

Status: Resolved
Project: Spring Web Services
Component/s: None
Affects Version/s: 2.1 GA
Fix Version/s: 2.1.2

Type: Defect Priority: Minor
Reporter: Damon Maria Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 0.2h
Original Estimate: Not Specified


 Description   

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?



 Comments   
Comment by Arjen Poutsma [ 30/Nov/12 ]

Fixed!

Generated at Tue May 22 06:25:01 UTC 2018 using JIRA 7.9.0#79000-sha1:3ca552e944c2fe83b21589bc06f155b9b428cc2b.