A Go SDK and CLI tool for SOAP web services.
- Support for SOAP 1.1, WSDL 1.1, and XSD 1.0
- Code generation from WSDL files
- Documentation generation
go test ./... # run unit tests
./tools/mage build # full CI pipeline: generate, lint, test, tidy
./tools/mage integrationtest # integration testsSee AGENTS.md for architecture and design notes.
The soap CLI tool can generate code, documentation, and call SOAP APIs on the fly.
$ soap
Multi-tool for SOAP APIs
USAGE
soap [command] [--flags]
CODE GENERATION
gen [--flags] Generate code for a SOAP API
DOCUMENTATION
doc [--flags] Display documentation for a SOAP API
NETWORK OPERATIONS
call [--flags] Call a SOAP action
UTILS
completion [command] Generate the autocompletion script for the specified shell
help [command] Help about any command
FLAGS
-h --help Help for soap
-v --version Version for soapThe CLI is distributed as a Go module. Install it with the Go toolchain:
go install github.com/tnymlr/soap-go/cmd/soap@latestThe resulting soap binary lands in $(go env GOBIN) (or $(go env GOPATH)/bin if GOBIN is unset).
This SDK is published under the MIT License.
Security researchers, please open a private advisory via the Security tab.
Be nice.