Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We'll need to add two things to our web.xml . First, file:

  1. the Spring ContextLoaderLister. This starts Spring and loads our beans.xml file. We can specify where our file is via a

...

  1. context-

...

  1. param element.
  2. the CXF Servlet

...

  1. Wiki Markup
    {snippet:id=webxml|lang=java|url=cxf/trunk/distribution/src/main/release/samples/java_first_spring_support/webapp/WEB-INF/web.xml?revision=HEAD}

It is important to note that the address that you chose for your endpoint bean must be one your servlet listens on. For instance, if my Servlet was register for "/some-services/*" but my address was "/more-services/HelloWorld", there is no way CXF could receive a request.

...