Test Postgis via SOAP calls
This is a sample Spring Boot microservice demonstrating the use of Spring Web services and Postgis.
First initialize the database:
- Download and install Postgres 9.6 (https://www.postgresql.org/download/)
- Start the database
- Create a user as super user geodbuser (as superuser) with password geodbuser.
- Create a database named geodb assigned to geodbuse.
- Download and install PostGIS https://postgis.net/install/
- Enable Postgis extensions for the specific database
Then compile the application:
- git clone https://github.com/geomark/GeoService.git
- cd
- mvn clean install (you must have maven 3.5 installed)
- cd target
- java -jar .jar
When the project has successfully compiled:
- cd target
- java -jar .jar
The Spring Boot application will start automatically and if the database is up and running and properly configured it will generate the appropriate tables (you still need to import some data manually though).
The WSDL is available at http://localhost:8080/ws/points.wsdl
You can use a tool like SOAPUI to play around...