diff --git a/src/docbkx/tutorial.xml b/src/docbkx/tutorial.xml
index cb0e7572..92fa9ef1 100644
--- a/src/docbkx/tutorial.xml
+++ b/src/docbkx/tutorial.xml
@@ -464,12 +464,12 @@
Creating the project
- In this section, we will be using Maven2 to create the
+ In this section, we will be using Maven3 to create the
initial project structure for us. Doing so is not required, but greatly reduces the amount of code we
have to write to setup our HolidayService.
- The following command creates a Maven2 web application project for us, using the Spring-WS archetype
+ The following command creates a Maven3 web application project for us, using the Spring-WS archetype
(that is, project template)
mvn archetype:create -DarchetypeGroupId=org.springframework.ws \
@@ -521,6 +521,10 @@
(You can see the contents of the 'WEB-INF/spring-ws-servlet.xml' file for this
example in .)
+
+ Once you had the project structure created, you can put the schema and wsdl from previous section into
+ 'WEB-INF/' folder.
+
Implementing the Endpoint
@@ -736,6 +740,52 @@ public class HolidayEndpoint {
There are also other ways to map endpoints to XML messages, which will be described in the next
chapter.
+
+
+ Providing the Service and Stub implementation
+
+ Now that we have the Endpoint, we need
+ HumanResourceService and its implementation for use by
+ HolidayEndpoint.
+
+
+
+ For tutorial purposes, we will use a simple stub implementation of the
+ HumanResourceService.
+
+
+
+
+
+
+
+
+
+ The StubHumanResourceService is annotated with
+ @Service.
+ This marks the class as a business facade, which makes this a candidate for injection
+ by @Autowired in HolidayEndpoint.
+
+
+
+
@@ -784,8 +834,8 @@ public class HolidayEndpoint {
For more information, please refer to
- For the location transformation to work, we need to add one more parameter to the
- web.xml:
+ For the location transformation to work, we need to add an init parameter to spring-ws
+ servlet in web.xml:
transformWsdlLocations
true
]]>