soap

package
v0.0.0-...-2670f12 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2015 License: MPL-2.0 Imports: 9 Imported by: 1

Documentation

Overview

SOAP proxy

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	Fault *Fault `xml:"fault,omitempty"` //It has to be a pointer or omitempty doesn't work
	Body  string `xml:",innerxml"`
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(url, soapAction string, tls bool) *Client

func (*Client) Call

func (s *Client) Call(request interface{}, response interface{}, cookies []*http.Cookie) ([]*http.Cookie, error)

type Envelope

type Envelope struct {
	XMLName       xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"`
	EncodingStyle string   `xml:"http://schemas.xmlsoap.org/soap/encoding/ encodingStyle,attr"`
	Header        Header   `xml:"http://schemas.xmlsoap.org/soap/envelope/ Header"`
	Body          Body     `xml:"http://schemas.xmlsoap.org/soap/envelope/ Body"`
}

type Fault

type Fault struct {
	// contains filtered or unexported fields
}
type Header struct {
	Header interface{}
}

Jump to

Keyboard shortcuts

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