Skip to content

Tags: fiorix/wsdl2go

Tags

v1.6.2

Toggle v1.6.2's commit message
fix inline simpleType restriction resolving to string instead of base…

… type

Elements with inline <simpleType><restriction base="..."> were not
resolving the base type, defaulting to string. Added SimpleType field
to wsdl.Element and resolve the restriction base in genElementField.

Fixes #146.

v1.6.1

Toggle v1.6.1's commit message
add goreleaser config, release workflow, remove manual release script

Cross-compile for linux, darwin, windows on amd64 and arm64.
Produce tar.gz, zip, deb, rpm, and archlinux packages.
Release workflow triggers on tag push.

v1.6.0

Toggle v1.6.0's commit message
add SOAP faults, MTOM, MIME attachments, schema caching, proper date/…

…time types, context methods, multiple PortTypes, typed enum consts, AnyType, short/int16

SOAP runtime:
- detect and return *soap.Fault from HTTP 500 and inline fault responses
- MTOM/XOP binary optimization with multipart encoding/decoding
- MIME multipart attachment support (SwA) via RoundTripMIME
- per-method context support: RoundTrip*Context variants
- XSD date/time types (DateTime, Date, Time, Duration) with XML marshal/unmarshal and timezone tracking
- AnyType struct preserving raw XML via InnerXML

Code generation:
- multiple PortTypes and Bindings per WSDL
- typed enum constants instead of reflect-based Validate()
- context-aware method variants (OpContext) for every operation
- short -> int16, anyType/anySequence/anySimpleType -> *soap.AnyType
- date/time types reference soap package instead of inline string aliases
- schema download caching (--no-cache to disable)

Updated README with current feature matrix.

v1.5.0

Toggle v1.5.0's commit message
update CI branches from master to main

v1.4.7

Toggle v1.4.7's commit message
updated to handle requests with context.

convert ctx to Ctx (public)

convert ctx to Ctx (public)

fix the request setter, as it was not setting it to pass to cli.do(r)

added a comment for the Ctx variable

v1.4.6

Toggle v1.4.6's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Added optional unified resource namespace

* Added unified resource namespace

* Added support of UserAgent header

v1.4.5

Toggle v1.4.5's commit message
Use stdlib context

v1.4.4

Toggle v1.4.4's commit message
Add support for new types, and bug fixes

This commit adds support for token, anyURI, QName and unions as
described in the README.

The token and anyURI types are implemented as strings. The QName is
currently implemented as a string too but we might have to change it
whenever it causes trouble.

The union type is currently implemented as an empty interface with a
comment about the types accepted in the union. Later on we could have a
validator for that.

The "any" element of sequences in complex types is also supported now,
as a slice of empty interfaces, and the nonNegativeInteger type is
implemented as uint.

Restricted elements of complex types are still not implemented, the
likes of pattern matching (in a validation function) are lacking.

Functions in interfaces and methods in structs are now sorted by name.
This required a change in the memcache.golden file of unit tests.

One more important thing is that elements without a type are
automatically set to the string type. I dont know if this is right but
it works for now. yolo

Closes #20

v1.4.3

Toggle v1.4.3's commit message
Bug fixes

Performing proper checks for methods having input and output parameters,
avoiding crashes. Fixes #17.

Compiling the code before calling gofmt, so we can print compiler error
messages when bad code is generated.

Fixing types defined in WSDL that contain illegal characters for the
generated code (e.g. double dots in the type name). Also fixing
parameter names that are reserved words in Go.

v1.4.2

Toggle v1.4.2's commit message
Cleanup. Ops.