https://github.com/mariazevedo88/spring-boot-ws-example
An example application of SOAP Web Service with Spring Boot
https://github.com/mariazevedo88/spring-boot-ws-example
java java-11 java11 spring-boot spring-mvc spring-ws springboot
Last synced: 7 months ago
JSON representation
An example application of SOAP Web Service with Spring Boot
- Host: GitHub
- URL: https://github.com/mariazevedo88/spring-boot-ws-example
- Owner: mariazevedo88
- License: mit
- Created: 2020-12-13T18:17:16.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-13T23:30:50.000Z (almost 5 years ago)
- Last Synced: 2025-01-27T10:45:04.134Z (9 months ago)
- Topics: java, java-11, java11, spring-boot, spring-mvc, spring-ws, springboot
- Language: Java
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://spring.io/guides/gs/producing-web-service)
### Test
* For unit test phase, you can run:
```bash
mvn test
```* Testing via cURL:
```bash
cd src/test/resourcescurl --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:
```bash
mvn packagejava -jar spring-boot-ws-example-1.0.0-SNAPSHOT.jar
```
or```bash
mvn spring-boot:run
```By default, the API will be available at [http://localhost:9090/sbwsExample/ws/calculatorDemo](http://localhost:9090/sbwsExample/ws/calculatorDemo)