Skip to content

mariazevedo88/spring-boot-ws-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-ws-example

About the application

Example application of SOAP Web Service with Spring Boot

Based on the tutorial: https://spring.io/guides/gs/producing-web-service

Test

  • For unit test phase, you can run:
mvn test
  • Testing via cURL:
cd src/test/resources

curl --header "content-type: text/xml" -d @request.xml http://localhost:9090/sbwsExample/ws/calculatorDemo

Run

In order to run the API, run the jar simply as following:

mvn package

java -jar spring-boot-ws-example-1.0.0-SNAPSHOT.jar

or

mvn spring-boot:run

By default, the API will be available at http://localhost:9090/sbwsExample/ws/calculatorDemo

Releases

No releases published

Packages

No packages published

Languages