THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
We'll need to add two things to our web.xml . First, file:
- the Spring
ContextLoaderLister
. This starts Spring and loads our beans.xml file. We can specify where our file is via a
...
context-
...
param
element.- the CXF Servlet
...
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.
...