This is a sample command line application that consumes DataFlex Web Service for Country information SOAP Service
Download this repository and run
docker build -t countries .
docker run -it -t countries /bin/sh
app/country-info
If you don't have docker installed, you can run with a local go installation.
Go to https://golang.org/doc/install and follow the instructions for your OS
go mod vendor
go mod download
go run entrypoints/capitals/main.go
N is the number of countries to be displayed. Optional argument
Inside the container, run app/country-info capitals N
Example
docker build -t countries .
docker run -it -t countries /bin/sh
app/country-info capitals 5
To get help, run app/country-info capitals -h
go run entrypoints/capitals/main.go capitals N
Example
go run entrypoints/capitals/main.go capitals 3