Skip to content
/ gowsdl Public
forked from hooklift/gowsdl

WSDL2Go code generation as well as its SOAP proxy

License

Notifications You must be signed in to change notification settings

topgate/gowsdl

This branch is 4 commits ahead of, 16 commits behind hooklift/gowsdl:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6d384aa · Jul 27, 2023
Jul 27, 2023
Jul 27, 2023
Jul 27, 2023
Jul 27, 2023
Jul 4, 2017
Dec 19, 2020
Feb 14, 2019
Sep 14, 2015
Sep 9, 2014
Apr 8, 2021
Mar 23, 2023
Sep 15, 2015
Jul 27, 2023
Dec 19, 2020
May 31, 2022
Mar 15, 2022
Jul 27, 2023
Sep 29, 2017
Sep 29, 2017
May 30, 2019
Jan 17, 2020
Jan 17, 2020
Oct 15, 2021
Dec 3, 2021
Jan 22, 2019
Sep 12, 2015
Dec 3, 2021

Repository files navigation

WSDL to Go

Gitter GoDoc Build Status

Generates Go code from a WSDL file.

Install

  • Download release
  • Download and build locally
    • 1.15: 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:
    • WSDL 1.1
    • XML Schema 1.0
    • SOAP 1.1
  • 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

About

WSDL2Go code generation as well as its SOAP proxy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.0%
  • Makefile 1.0%