Versions in this module Expand all Collapse all v1 v1.3.3 Apr 27, 2023 Changes in this version + const AppVersion + const NamespaceSoap11 + const NamespaceSoap12 + const SoapContentType11 + const SoapContentType12 + const SoapVersion11 + const SoapVersion12 + type BasicAuth struct + Login string + Password string + type Body struct + Content interface{} + Fault *Fault + SOAPBodyContentType string + XMLName xml.Name + func (b *Body) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Client struct + ContentType string + HTTPClientDoFn func(req *http.Request) (*http.Response, error) + Log func(msg string, keyString_ValueInterface ...interface{}) + Marshaller XMLMarshaller + RequestHeaderFn func(http.Header) + SoapVersion string + UserAgent string + func NewClient(postToURL string, auth *BasicAuth) *Client + func (c *Client) Call(ctx context.Context, soapAction string, request, response interface{}) (*http.Response, error) + func (c *Client) UseSoap11() + func (c *Client) UseSoap12() + type Envelope struct + Body Body + Header Header + XMLName xml.Name + type Fault struct + Actor string + Code string + Detail string + String string + XMLName xml.Name + func (f *Fault) Error() string + type Header struct + Header interface{} + XMLName xml.Name + type OperationHandlerFunc func(request interface{}, w http.ResponseWriter, httpRequest *http.Request) (response interface{}, err error) + type RequestFactoryFunc func() interface + type Server struct + ContentType string + Log func(...interface{}) + Marshaller XMLMarshaller + SoapVersion string + func NewServer() *Server + func (s *Server) RegisterHandler(path string, action string, messageType string, ...) + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (s *Server) UseSoap11() + func (s *Server) UseSoap12() + func (s *Server) WriteHeader(w http.ResponseWriter, code int) + type XMLMarshaller interface + Marshal func(v interface{}) ([]byte, error) + Unmarshal func(xml []byte, v interface{}) error