gowsdlsoap

package module
v1.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

README

gowsdlsoap

GoDoc

Generates GO types based structs for a given service wsdl file, it provides a proxy http client to make request to the given service.

Supports file attachments.

Supports NTLM and Basic Auth authentication methods.

Install
  • Download binary release
  • Download and build locally: go get github.com/go-aegian/gowsdlsoap/...
  • Install from go: go install github.com/go-aegian/gowsdlsoap/...
  • Uninstall: go clean -i -n github.com/go-aegian/gowsdlsoap
Goals
  • Generate go code for the wsdl definition
  • 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: gowsdlsoap [options] services.wsdl
  -o string
        File where the generated code will be saved (default "services-proxy.go")
  -p string
        Package under which code will be generated (default "servicesProxy")
  -i    Skips TLS Verification
  -v    Shows gowsdlsoap version

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(file, pkg string, ignoreTLS bool, exportAllTypes bool) (*builder.Builder, error)

New creates the builder.

Types

This section is empty.

Directories

Path Synopsis
xsd
cmd
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL