This project is a sample app used to experiment with Spring WS.
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 runServer.main()
directly from your IDE to launch the SOAP service -
curl --header "content-type: text/xml" -d @down.xml https://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 https://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.