diff --git a/samples/tutorial/src/main/webapp/WEB-INF/spring-ws-servlet.xml b/samples/tutorial/src/main/webapp/WEB-INF/spring-ws-servlet.xml
index ae6fdb99..f16e2228 100644
--- a/samples/tutorial/src/main/webapp/WEB-INF/spring-ws-servlet.xml
+++ b/samples/tutorial/src/main/webapp/WEB-INF/spring-ws-servlet.xml
@@ -38,7 +38,8 @@
-
+
+
@@ -46,4 +47,4 @@
-
\ No newline at end of file
+
diff --git a/samples/tutorial/src/main/webapp/WEB-INF/web.xml b/samples/tutorial/src/main/webapp/WEB-INF/web.xml
index 68288e8a..408aa8d1 100644
--- a/samples/tutorial/src/main/webapp/WEB-INF/web.xml
+++ b/samples/tutorial/src/main/webapp/WEB-INF/web.xml
@@ -24,6 +24,10 @@
spring-ws
org.springframework.ws.transport.http.MessageDispatcherServlet
+
+ transformWsdlLocations
+ true
+
diff --git a/src/docbkx/server.xml b/src/docbkx/server.xml
index 7f95641e..9e48f0d2 100644
--- a/src/docbkx/server.xml
+++ b/src/docbkx/server.xml
@@ -151,7 +151,7 @@
that means that it looks for '/WEB-INF/spring-ws-servlet.xml'. This file will
contain all of the SWS-specific beans such as endpoints, marshallers and suchlike.
-
+
Automatic WSDL exposure
The MessageDispatcherServlet will automatically detect any
diff --git a/src/docbkx/tutorial.xml b/src/docbkx/tutorial.xml
index 8fc534df..2efa4108 100644
--- a/src/docbkx/tutorial.xml
+++ b/src/docbkx/tutorial.xml
@@ -725,7 +725,7 @@ public class HolidayEndpoint extends AbstractJDomPayloadEndpoint {
-
+
@@ -756,10 +756,9 @@ public class HolidayEndpoint extends AbstractJDomPayloadEndpoint {
We set the location where the service can be reached:
- http://localhost:8080/holidayService. For development, this will suffice, but
- obviously we need to change this to http://mycompany.com/humanresources when going
- live. A common way to to accomplish this is to use a Spring
- PropertyPlaceholderConfigurer.
+ /holidayService/. We use a a relative URI and we instruct the framework to transform it
+ dynamically to an absolute URI. Hence, if the service is deployed to different contexts we don't have
+ to change the URI manually. For more information, please refer to