https://github.com/spring-projects/spring-ws-samples
https://github.com/spring-projects/spring-ws-samples
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/spring-projects/spring-ws-samples
- Owner: spring-projects
- Created: 2013-11-07T11:32:34.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2025-03-14T15:16:48.000Z (12 months ago)
- Last Synced: 2025-04-12T19:46:08.599Z (11 months ago)
- Language: Java
- Size: 434 KB
- Stars: 150
- Watchers: 25
- Forks: 131
- Open Issues: 2
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Spring Web Services Samples
https://spring.io/projects/spring-ws[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.
== Spring Boot 3.5.x + Spring WS 4.1.x
This version of the samples focuses on Spring WS 4.1.x, the generation provided by Spring Boot 3.5
For samples on Spring WS 4.0.x, check the `2.0.x` branch.
== Sample Applications
The following sample applications demonstrate the capabilities of https://spring.io/projects/spring-ws[Spring Web
Services]. See the README within each sample project for more information and
additional instructions.
* link:./airline[airline] - a complete airline sample that shows both Web Service and
O/X Mapping functionality in a complete application
* link:./echo[echo] - a simple sample that shows a bare-bones Echo service
* link:./mtom[mtom] - shows how to use MTOM and JAXB2 marshalling
* link:./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 `server` folder.
----
$ ./mvnw spring-boot:run
----
Or alternatively, run the following to create runnable JAR file that will run anywhere there's a JDK:
----
$ ./mvnw package
----
== 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:
----
$ ./mvnw spring-boot:run
----
== License
https://projects.spring.io/spring-ws[Spring Web Services] is released under version 2.0 of the http://www.apache.org/licenses/LICENSE-2.0[Apache License].