Toco-soap is a soap service for Toco. It is a simple service that allows toco to communicate with other systems using soap. It is built using the Jax-ws library and build using maven. This service is built to complete IF3110 assignment.
- manage user gems
- manage user transaction
- voucher usage logging
- request logging
there are 2 ways that you can run this server
- using maven
- make sure you have maven installed
- run
mvn clean install
- run
mvn exec:java
- the server will run on port 8080
- using docker
- make sure you have docker installed
- run
docker compose build
- run
docker compose up
- the server will run on port 8080
Toco soap service uses 5 tables in the database, the tables are userGems
, transaction
, voucher_record
, api
, and logging
. The schema for the tables are as follows
all of the endpoints are in /service
- addGems -> add gems to user
- getGems -> get user gems
- createTransaction -> create a transaction from a user
- getTransactions -> get all transactions from a user
- useVoucher -> use a voucher
- getSpecifiedVouchers -> get the specified voucher usage
- getAllVouchers -> get all voucher usage
for more information about the endpoints, you can check the wsdl file in /service?wsdl
- initial setup
- 13521022
- authentication
- 13521021
- 13521022
- gems management
- 13521022
- transaction management
- 13521022
- voucher logging
- 13521022
- request logging
- 13521022
- integration
- 13521019
- 13521021
- mail support
- 13521022