From 4cf07f75604bd0a95d8492694bc57dd49e4a720e Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Fri, 18 May 2007 21:37:51 +0000 Subject: [PATCH] Docs --- src/docbkx/index.xml | 13 ++++--------- src/docbkx/server.xml | 11 ++++++++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/docbkx/index.xml b/src/docbkx/index.xml index 004830bd..5e052f2a 100644 --- a/src/docbkx/index.xml +++ b/src/docbkx/index.xml @@ -5,9 +5,9 @@ Spring Web Services - Reference Documentation - - &version; - + + + @@ -57,12 +57,7 @@ - - - Document-driven Web services with Spring-WS - This chapter will contain the reference for server-side Spring-WS usage. - - + diff --git a/src/docbkx/server.xml b/src/docbkx/server.xml index 89164541..3e8ecb9b 100644 --- a/src/docbkx/server.xml +++ b/src/docbkx/server.xml @@ -394,7 +394,7 @@ public class AnnotationOrderEndpoint { endpoint. Because the endpoint class can have multiple request handling methods, we need to instruct Spring-WS which method to invoke for which request. This is done using the @PayloadRoot annotation: the getOrder method - will be invoked for requests with a orderRequest local name, and a + will be invoked for requests with a orderRequest local name and a http://samples namespace URI; the order method for requests with a order local name. For more information about these annotations, refer to . @@ -415,7 +415,12 @@ public class AnnotationOrderEndpoint { - + + + samples.OrderRequest + samples.Order + + @@ -432,7 +437,7 @@ public class AnnotationOrderEndpoint { As an alternative to using marshalling, we could have used XPath to extract the information out of the incoming XML request. Spring-WS offers another annotation for - this purpose: @XPathParam. You simply annotate a method paramters + this purpose: @XPathParam. You simply annotate method parameters with this annotation, and it will be bound with the evaluation of that annotation. Here is an example: