Versions in this module Expand all Collapse all v1 v1.0.0 Nov 8, 2023 Changes in this version + type Action struct + Operation string + XMLName xml.Name + func NewAction(key, value string) Action + type SOAPBody struct + Content interface{} + Fault *SOAPFault + XMLName xml.Name + func (b *SOAPBody) UnmarshalXML(d *xml.Decoder, _ xml.StartElement) error + type SOAPEnvelope struct + Body SOAPBody + Header SOAPHeader + XMLName xml.Name + func NewSOAPEnvelope(content interface{}) *SOAPEnvelope + type SOAPFault struct + Code SOAPFaultCode + Detail SOAPFaultDetail + Reason SOAPFaultReason + XMLName xml.Name + func (fault *SOAPFault) String() string + type SOAPFaultCode struct + Subcode SOAPFaultSubCode + Value string + type SOAPFaultDetail struct + Text string + type SOAPFaultReason struct + Text string + type SOAPFaultSubCode struct + Subcode *SOAPFaultSubCode + Value string + type SOAPHeader struct + Headers []interface{} + XMLName xml.Name + type Security struct + Auth wsAuth + XMLName xml.Name + func NewSecurity(username, passwd string) Security + type SoapMessage string + func NewEmptySOAP() SoapMessage + func NewSOAP(headContent []*etree.Element, bodyContent []*etree.Element, ...) SoapMessage + func (msg *SoapMessage) AddAction() + func (msg *SoapMessage) AddBodyContent(element *etree.Element) + func (msg *SoapMessage) AddBodyContents(elements []*etree.Element) + func (msg *SoapMessage) AddHeaderContent(element *etree.Element) + func (msg *SoapMessage) AddHeaderContents(elements []*etree.Element) + func (msg *SoapMessage) AddRootNamespace(key, value string) + func (msg *SoapMessage) AddRootNamespaces(namespaces map[string]string) + func (msg *SoapMessage) AddStringBodyContent(data string) + func (msg *SoapMessage) AddStringHeaderContent(data string) error + func (msg *SoapMessage) AddWSSecurity(username, password string) + func (msg SoapMessage) Body() string + func (msg SoapMessage) String() string + func (msg SoapMessage) StringIndent() string