A simple Web Service (SOAP) developed using Spring Boot.
The tool uses an in-memory (runtime) temporary H2 database to store sample data for demos. The H2 console is accessible from https://localhost:8443/h2-console
and use admin
as password.
NOTE: All defined service operations are fronted by Basic Authentication. Please refer Operations section
This sample WS contains the following models and supports CRUD operations on them
- Developer
- addDeveloper
- getDeveloper
- deleteDeveloper
- Repo
- addRepo
- getRepo
Access WSDL definition by navigating to the following link
https://localhost:8443/ws/developers.wsdl
The operations are fronted by a Basic Authentication. Use the following credentials when working with the listed dev-service (web service) operations
- username:
hydrogen
- password:
pandaAsthma
<addDeveloperRequest>
<username>johndoe</username>
<name>John Doe</name>
<email>john@doe.com</email>
</addDeveloperRequest>
<getDeveloperRequest>
<username>johndoe</username>
</getDeveloperRequest>
<deleteDeveloperRequest>
<username>johndoe</username>
</deleteDeveloperRequest>
<dev:addRepoRequest>
<dev:name>repodews</dev:name>
<dev:username>athiththan11</dev:username>
<dev:forks>0</dev:forks>
</dev:addRepoRequest>
<getRepoRequest>
<username>johndoe</username>
</getRepoRequest>
Execute the following command from the root folder to fire up the web service (spring-boot)
If you dont have maven installed, use the second listed command
mvn spring-boot:run
Use the following command if you dont have maven installed
.\mvnw spring-boot:run