gen

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WSDLUndefinedError = errors.New("Server was unable to process request. --> Object reference not set to an instance of an object.")

Functions

func Endpoint

func Endpoint(w http.ResponseWriter, r *http.Request)

Types

type AnyType

type AnyType struct {
	InnerXML string `xml:",innerxml"`
}

type AnyURI

type AnyURI string

type Fault

type Fault struct {
	XMLName xml.Name `xml:"SOAP-ENV:Fault"`
	Space   string   `xml:"xmlns:SOAP-ENV,omitempty,attr"`

	Code   string `xml:"faultcode,omitempty"`
	String string `xml:"faultstring,omitempty"`
	Actor  string `xml:"faultactor,omitempty"`
	Detail string `xml:"detail,omitempty"`
}

type GetInfo

type GetInfo struct {
	XMLName xml.Name `xml:"http://www.mnb.hu/webservices/ GetInfo"`

	Id string `xml:"Id,omitempty" json:"Id,omitempty"`
}

type GetInfoResponse

type GetInfoResponse struct {
	XMLName xml.Name `xml:"http://www.mnb.hu/webservices/ GetInfoResponse"`

	// this is a comment
	GetInfoResult string `xml:"GetInfoResult,omitempty" json:"GetInfoResult,omitempty"`
}

type MNBArfolyamServiceType

type MNBArfolyamServiceType interface {
	GetInfoSoap(request *GetInfo) (*GetInfoResponse, error)

	GetInfoSoapContext(ctx context.Context, request *GetInfo) (*GetInfoResponse, error)
}

func NewMNBArfolyamServiceType

func NewMNBArfolyamServiceType(client *soap.Client) MNBArfolyamServiceType

type NCName

type NCName string

type ResponseStatus

type ResponseStatus struct {
	Status []struct {
		Value string `xml:",chardata" json:"-,"`

		Code string `xml:"code,attr,omitempty" json:"code,omitempty"`
	} `xml:"status,omitempty" json:"status,omitempty"`

	ResponseCode string `xml:"responseCode,attr,omitempty" json:"responseCode,omitempty"`
}

type SOAPBodyRequest

type SOAPBodyRequest struct {
	XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Body"`

	GetInfo *GetInfo `xml:,omitempty`
}

func (*SOAPBodyRequest) GetInfoFunc

func (service *SOAPBodyRequest) GetInfoFunc(request *GetInfo) (*GetInfoResponse, error)

type SOAPBodyResponse

type SOAPBodyResponse struct {
	XMLName xml.Name `xml:"soap:Body"`
	Fault   *Fault   `xml:",omitempty"`

	GetInfo *GetInfoResponse `xml:",omitempty"`
}

type SOAPEnvelopeRequest

type SOAPEnvelopeRequest struct {
	XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"`
	Body    SOAPBodyRequest
}

type SOAPEnvelopeResponse

type SOAPEnvelopeResponse struct {
	XMLName    xml.Name `xml:"soap:Envelope"`
	PrefixSoap string   `xml:"xmlns:soap,attr"`
	PrefixXsi  string   `xml:"xmlns:xsi,attr"`
	PrefixXsd  string   `xml:"xmlns:xsd,attr"`

	Body SOAPBodyResponse
}

func NewSOAPEnvelopResponse

func NewSOAPEnvelopResponse() *SOAPEnvelopeResponse

Jump to

Keyboard shortcuts

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