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

        ejvyas Vyas Sanzgiri created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Fix Version/s 1.5.7 [ 11173 ]
        Remaining Estimate 1h [ 3600 ]
        Original Estimate 1h [ 3600 ]
        arjen.poutsma Arjen Poutsma made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        arjen.poutsma Arjen Poutsma made changes -
        Component/s Documentation [ 10230 ]
        Component/s Samples [ 10190 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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: