Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-498

3.6.1. Handling the XML Message tutorial with wrong code

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.6
    • Fix Version/s: 1.5.7
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      public class HolidayEndpoint extends AbstractJDomPayloadEndpoint will not compile

      Description

      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.
      Parameters:
      path the XPath expression to wrap.
      Throws:
      JDOMException - if the XPath expression is invalid.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        46d 16h 8m 1 Arjen Poutsma 12/May/09 10:21 PM
        In Progress In Progress Resolved Resolved
        1m 22s 1 Arjen Poutsma 12/May/09 10:23 PM
        Resolved Resolved Closed Closed
        1087d 8h 40m 1 Arjen Poutsma 04/May/12 7:03 AM

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            ejvyas Vyas Sanzgiri
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: