wsdl

package
v0.0.0-...-1e5fc91 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2015 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binding

type Binding struct {
	Name        string             `xml:"name,attr"`
	Type        string             `xml:"type,attr"`
	SoapBinding SoapBinding        `xml:"binding"`
	Operations  []BindingOperation `xml:"operation"`
}

type BindingOperation

type BindingOperation struct {
	Name          string        `xml:"name,attr"`
	SoapOperation SoapOperation `xml:"operation"`
	Input         SoapBodyIO    `xml:"input"`
	Output        SoapBodyIO    `xml:"output"`
	Fault         SoapBody      `xml:"fault>fault"`
}

type Definitions

type Definitions struct {
	XMLName xml.Name `xml:"definitions"`
	Aliases map[string]string
	InnerDefinitions
}

func (*Definitions) GetAlias

func (self *Definitions) GetAlias(alias string) (space string)

func (*Definitions) UnmarshalXML

func (self *Definitions) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error)

func (*Definitions) WriteRequest

func (self *Definitions) WriteRequest(operation string, w io.Writer, headerParams, bodyParams map[string]interface{}) (err error)

type InnerDefinitions

type InnerDefinitions struct {
	TargetNamespace string    `xml:"targetNamespace,attr"`
	Types           Type      `xml:"types"`
	Messages        []Message `xml:"message"`
	PortType        PortType  `xml:"portType"`
	Binding         []Binding `xml:"binding"`
	Service         Service   `xml:"service"`
}

type Message

type Message struct {
	Name string `xml:"name,attr"`
	Part Part   `xml:"part"`
}

type Part

type Part struct {
	Name    string `xml:"name,attr"`
	Element string `xml:"element,attr"`
}

type PortType

type PortType struct {
	Name          string              `xml:"name,attr"`
	Documentation string              `xml:"documentation"`
	Operations    []PortTypeOperation `xml:"operation"`
}

type PortTypeOperation

type PortTypeOperation struct {
	Name   string                   `xml:"name,attr"`
	Input  PortTypeOperationMessage `xml:"input"`
	Output PortTypeOperationMessage `xml:"output"`
	Fault  PortTypeOperationMessage `xml:"fault"`
}

type PortTypeOperationMessage

type PortTypeOperationMessage struct {
	Name    string `xml:"name,attr"`
	Message string `xml:"message,attr"`
}

type Service

type Service struct {
	Name string      `xml:"name,attr"`
	Port ServicePort `xml:"port"`
}

type ServiceAddress

type ServiceAddress struct {
	XMLName  xml.Name `xml:"address"`
	Location string   `xml:"location,attr"`
}

type ServicePort

type ServicePort struct {
	XMLName xml.Name       `xml:"port"`
	Name    string         `xml:"name,attr"`
	Binding string         `xml:"binding,attr"`
	Address ServiceAddress `xml:"address"`
}

type SoapBinding

type SoapBinding struct {
	XMLName   xml.Name `xml:"binding"`
	Transport string   `xml:"transport,attr"`
	Style     string   `xml:"style,attr"`
}

type SoapBody

type SoapBody struct {
	PortTypeOperationMessage
	Part string `xml:"part,attr"`
	Use  string `xml:"use,attr"`
}

type SoapBodyIO

type SoapBodyIO struct {
	Name       string   `xml:"name,attr"`
	SoapHeader SoapBody `xml:"header"`
	SoapBody   SoapBody `xml:"body"`
}

type SoapOperation

type SoapOperation struct {
	SoapAction string `xml:"soapAction,attr"`
}

type Type

type Type struct {
	Schemata []xsd.Schema `xml:"schema"`
	Schemas  xsd.SchemaMap
}

Jump to

Keyboard shortcuts

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