[SWS-498] 3.6.1. Handling the XML Message tutorial with wrong code Created: 27/Mar/09  Updated: 04/May/12  Resolved: 12/May/09

Status: Closed
Project: Spring Web Services
Component/s: Documentation
Affects Version/s: 1.5.6
Fix Version/s: 1.5.7

Type: Improvement Priority: Major
Reporter: Vyas Sanzgiri Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

public class HolidayEndpoint extends AbstractJDomPayloadEndpoint will not compile


3.6.1. Handling the XML Message turorial at http://static.springframework.org/spring-ws/sites/1.5/reference/html/tutorial.html has wrong code

Namespace.getNamespace throws a JDOMException with is not caught. The given code will not compile!!

Check the documentation of newInstance :--

Creates a new XPath wrapper object, compiling the specified XPath expression.
path the XPath expression to wrap.
JDOMException - if the XPath expression is invalid.

Comment by Arjen Poutsma [ 12/May/09 ]

Fixed, thanks for spotting this!

Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Tue Jul 17 15:45:16 UTC 2018 using JIRA 7.9.0#79000-sha1:3ca552e944c2fe83b21589bc06f155b9b428cc2b.