Documentation
¶
Overview ¶
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Gowsdl generates Go code from a WSDL file.
This project is originally intended to generate Go clients for WS-* services.
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")
-v Shows gowsdl version
Features ¶
Supports only Document/Literal wrapped services, which are WS-I (http://ws-i.org/) compliant.
Attempts to generate idiomatic Go code as much as possible.
Supports WSDL 1.1, XML Schema 1.0, SOAP 1.1.
Resolves external XML Schemas ¶
Supports providing WSDL HTTP URL as well as a local WSDL file.
Not supported ¶
UDDI.
TODO ¶
Add support for filters to allow the user to change the generated code.
If WSDL file is local, resolve external XML schemas locally too instead of failing due to not having a URL to download them from.
Resolve XSD element references.
Support for generating namespaces.
Make code generation agnostic so generating code to other programming languages is feasible through plugins.