https://github.com/gregturn/learning-spring-ws
Tinker around with Spring WS
https://github.com/gregturn/learning-spring-ws
Last synced: 7 months ago
JSON representation
Tinker around with Spring WS
- Host: GitHub
- URL: https://github.com/gregturn/learning-spring-ws
- Owner: gregturn
- Created: 2014-07-09T21:48:55.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T01:42:54.000Z (over 7 years ago)
- Last Synced: 2025-02-06T21:51:36.619Z (over 1 year ago)
- Language: Java
- Size: 215 KB
- Stars: 9
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
== Learning Spring WS
This project is a sample app used to experiment with Spring WS.
=== To run
==== Server
Before running the client, you'll want to start up the server.
. Checkout repo
. `cd learning-spring-ws-server`
. `mvn compile` to generate XSD-driven classes
. `mvn spring-boot:run` or run `Server.main()` directly from your IDE to launch the SOAP service
. `curl --header "content-type: text/xml" -d @down.xml http://localhost:8080/ws > output.xml && xmllint --format output.xml && rm output.xml` to send a DOWN message
. `curl --header "content-type: text/xml" -d @up.xml http://localhost:8080/ws > output.xml && xmllint --format output.xml && rm output.xml` to send an UP message
Big differences:
* This part uses *spring-boot-starter-ws* and *wsdl4j*.
==== Client
Assuming you have started up the server, you can run the client.
. In another shell, `cd learning-spring-ws-client`
. `mvn spring-boot:run`
Check out the output.
Big differences:
* This part uses *spring-ws-core*, NOT *spring-boot-starter-ws*.