Template for SOAP webservice with spring
- Java 8
- Spring Boot
- Maven 3
- Release plugin
- FindBugs plugin
- JUnit
To generate local builds with maven:
mvn clean install
To generate versioned builds for production and homologation enviroments:
mvn release:clean
mvn release:prepare
After building project, get .war file and run on your current web server:
- Tomcat
./startup.sh
After starting the server, execute:
Echo:
curl --header "content-type: text/xml" -d @(?path/)EchoRequest.xml (your server)/basic/endpoints/BasicDetailsService.wsdl
Insert Basic:
curl --header "content-type: text/xml" -d @(?path/)NewRequest.xml (your server)/basic/endpoints/BasicDetailsService.wsdl