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

Reference Chapter 3.5 use of MessageDispatcherServlet is incomplete

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 RC1
    • Fix Version/s: 1.0 RC2
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      n/a

      Description

      The snippet of web.xml shown in Chapter 3.5 of the reference manual that is generated by the archetype:create command shows the use of the MessageDispatcherServlet class. Unfortunately, this by itself does not dispatch any messages.

      I think that there might be some applicationContext-ws.xml and/or spring-ws-servlet.xml configuration that is also required in order for the MessageDispatcherServlet configuration to work. Since the use of the MessageDispatcherServlet is not used in the sample applications, the only existing example/explanation of this newer class is in the reference manual.

      In my own case, after experimenting with the MessageDispatcherServlet config, I switched my application back to DispatcherServlet as it is used in the sample apps which then began working properly again.

        Activity

        Hide
        springboy Rick Evans added a comment -

        Yes, the documentation wasn't very clear there about the 'implied' extra configuration file that is needed there.

        I have updated that portion of the documentation to be more explicit now, and provided a link to that section of the documentation that describes the contents of this extra configuration file.

        Cheers
        Rick

        Show
        springboy Rick Evans added a comment - Yes, the documentation wasn't very clear there about the 'implied' extra configuration file that is needed there. I have updated that portion of the documentation to be more explicit now, and provided a link to that section of the documentation that describes the contents of this extra configuration file. Cheers Rick
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing 1.0 RC2 issues.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing 1.0 RC2 issues.

          People

          • Assignee:
            springboy Rick Evans
            Reporter:
            corbathegeek Corba the Geek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: