httpsoap

package
v0.0.0-...-13c8884 Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadEnvelope

func ReadEnvelope(reply interface{}, reader io.Reader) error

func SendEnvelope

func SendEnvelope(data interface{}, url string, action string) (*http.Response, error)

Types

type Body

type Body struct {
	XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Body"`
	Data    string   `xml:",innerxml"`
}

type Envelope

type Envelope struct {
	XMLName       xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"`
	Xsi           string   `xml:"xmlns:xsi,attr"`
	Soapenc       string   `xml:"xmlns:soapenc,attr"`
	Xsd           string   `xml:"xmlns:xsd,attr"`
	EncodingStyle string   `xml:"soap:encodingStyle,attr"`
	Soap          string   `xml:"xmlns:soap,attr"`
	Body          Body
}

Jump to

Keyboard shortcuts

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