From 2ee330176cbb6df2cc138ba01594eb689e99941a Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Fri, 10 Dec 2010 10:17:14 +0000 Subject: [PATCH] SWS-664 - Tutorial requires transformWsdlLocations true --- src/docbkx/tutorial.xml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/docbkx/tutorial.xml b/src/docbkx/tutorial.xml index ebabaf18..2b7031f9 100644 --- a/src/docbkx/tutorial.xml +++ b/src/docbkx/tutorial.xml @@ -483,7 +483,9 @@ there is a 'src/main/webapp' directory, which will contain the root of the WAR file. You will find the standard web application deployment descriptor 'WEB-INF/web.xml' here, which defines a Spring-WS MessageDispatcherServlet and maps all incoming - requests to this servlet: + requests to this servlet. + We also set the transformWsdlLocations parameter to true, which we will get back to + later. /* + + transformWsdlLocations + true + + ]]> In addition to the above 'WEB-INF/web.xml' file, you will also need another, @@ -756,9 +763,13 @@ public class HolidayEndpoint extends AbstractJDomPayloadEndpoint { We set the location where the service can be reached: - /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 + /holidayService/. + We use a relative URI and we instruct the framework to transform it + dynamically to an absolute URI (hence the transformWsdlLocations setting in + web.xml). + Hence, if the service is deployed to different contexts we don't have + to change the URI manually. + For more information, please refer to