package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Jul 2, 2022
License: Unlicense
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package soap provides SOAP XML Encoding and Decoding
func Decode(data []byte, contents interface{}) error
Decode Decodes XML SOAP Envelop to struct
func Encode(contents, header interface{}) ([]byte, error)
Encode Encodes struct to XML SOAP Envelop
type Body struct {
XMLName struct{} `xml:"Body"`
Contents []byte `xml:",innerxml"`
}
Body SOAP Body
type Envelope struct {
XMLName struct{} `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"`
Body Body
}
Envelope SOAP Envelope
Source Files
¶
Click to show internal directories.
Click to hide internal directories.