WSDL2Go code generation as well as its SOAP proxy
Last updated Jun 8, 2026
1.2k
Stars
411
Forks
97
Issues
0
Stars/day
Attention Score
72
Language breakdown
Go 99.0%
Makefile 1.0%
โธ Files
click to expand
README
WSDL to Go
Generates Go code from a WSDL file.
Install
- Download release
- Download and build locally
go get github.com/hooklift/gowsdl/...
* 1.20: go install github.com/hooklift/gowsdl/cmd/gowsdl@latest
- Install from Homebrew:
brew install gowsdl
Goals
- Generate idiomatic Go code as much as possible
- Support only Document/Literal wrapped services, which are WS-I compliant
- Support:
- Resolve external XML Schemas
- Support external and local WSDL
Caveats
- Please keep in mind that the generated code is just a reflection of what the WSDL is like. If your WSDL has duplicated type definitions, your Go code is going to have the same and may not compile.
Usage
Usage: gowsdl [options] myservice.wsdl
-o string
File where the generated code will be saved (default "myservice.go")
-p string
Package under which code will be generated (default "myservice")
-i Skips TLS Verification
-v Shows gowsdl version๐ More in this category