Added echo sample

This commit is contained in:
Arjen Poutsma
2013-11-08 12:02:45 +01:00
parent 94576a6ab2
commit edbba3dfe0
22 changed files with 649 additions and 2 deletions

View File

@@ -1,2 +1,47 @@
spring-ws-samples
=================
# Spring Web Services Samples
[Spring Web Services] is a product of the Spring community focused on creating
document-driven, contract-first Web services. This repository contains sample
projects illustrating usage of Spring Web Services.
## Sample Applications
The following sample applications demonstrate the capabilities of [Spring Web
Services]. See the README within each sample project for more information and
additional instructions.
- [echo](./echo) - a simple sample that shows a bare-bones Echo service
- [tutorial](./tutorial) - contains the code from the Spring-WS tutorial
## Running the Server
Most of the sample apps can be built and run using the following commands from
within the sample's folder.
```sh
$ ./gradlew tomcatRun
```
Or alternatively, run the following to create war archive which can be deployed
in any Web Container.
```sh
$ ./gradlew war
```
## Running the Client(s)
Most of the sample apps have a separate ``client`` directory containing clients
that connect to the server. You can run these clients by using the following
command from within each of client subdirectories:
```sh
$ gradle runClient
```
## License
[Spring Web Services] is released under version 2.0 of the [Apache License].
[Spring Web Services]: http://projects.spring.io/spring-ws
[Apache License]: http://www.apache.org/licenses/LICENSE-2.0