hooklift / gowsdl

WSDL2Go code generation as well as its SOAP proxy
Mozilla Public License 2.0
1.14k stars 390 forks source link

adjust SOAP Header handling to not include headers/header elements #250

Closed kkoehler closed 1 year ago

kkoehler commented 1 year ago

HI,

using headers in SOAP will result in XML elements like:

... --- which is not valid. This PR will fix this issue Thanks, Kristian
oussamm commented 9 months ago

@kkoehler then in that case header should be interface not []interface

an interface can be any type, even a slice of a specific type.

The AddHeader and SetHeaders are problematic already since it's not concurrently safe.