Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
WSDL string
URL string
Method string
Params Params
HeaderName string
HeaderParams Params
Definitions *wsdlDefinitions
Body []byte
Header []byte
Options Options
// contains filtered or unexported fields
}
Client struct hold all the informations about WSDL, request and response of the server
func SoapClient ¶
SoapClient return new *Client to handle the requests with the WSDL
func (*Client) GetLastRequest ¶ added in v1.1.1
func (Client) MarshalXML ¶
MarshalXML envelope the body and encode to xml
type Fault ¶ added in v1.1.0
type Fault struct {
Code string `xml:"faultcode"`
Description string `xml:"faultstring"`
Detail string `xml:"detail"`
}
Fault response
type SoapBody ¶
type SoapBody struct {
XMLName struct{} `xml:"Body"`
Contents []byte `xml:",innerxml"`
}
SoapBody struct
type SoapEnvelope ¶
type SoapEnvelope struct {
XMLName struct{} `xml:"Envelope"`
Header SoapHeader
Body SoapBody
}
SoapEnvelope struct
type SoapHeader ¶ added in v1.1.1
type SoapHeader struct {
XMLName struct{} `xml:"Header"`
Contents []byte `xml:",innerxml"`
}
SoapHeader struct
Click to show internal directories.
Click to hide internal directories.
