Table of Contents
This guide helps you run Spring WebFlux example to call SOAP services.
git clone https://github.com/spring-guides/gs-soap-service.git
cd gs-soap-service/complete
mvn clean install
java -Dserver.port=8081 -jar target/producing-web-service-0.0.1-SNAPSHOT.jar
git clone https://github.com/gungor/spring-webclient-soap.git
cd spring-webclient-soap
mvn clean install
java -jar target/spring-webclient-soap-1.0-SNAPSHOT.jar
curl -X POST http://localhost:8080/countrydetails/Poland
curl -X POST http://localhost:8080/countrydetails/Spain
Watch logs of spring-webclient-soap, it retrieves country details and logs capital. You can see how it works here: https://gungor.github.io/article/2020/08/23/soap-call-with-spring-webflux.html