GAESoap

package module
v0.0.0-...-db22c61 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2015 License: MPL-2.0 Imports: 8 Imported by: 0

README

GAESoap

A Google App Engine Go Soap client

Original code by Hooklift - https://github.com/hooklift/gowsdl Modification for Google App Engine by ThePiachu

Documentation

Overview

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 SoapBody

type SoapBody struct {
	Fault   *SoapFault `xml:"http://schemas.xmlsoap.org/soap/envelope/ Fault,omitempty"`
	Content string     `xml:",innerxml"`
}

type SoapClient

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

func NewSoapClient

func NewSoapClient(url string, tls bool) *SoapClient

func (*SoapClient) Call

func (s *SoapClient) Call(c appengine.Context, soapAction string, request, response interface{}) error

type SoapEnvelope

type SoapEnvelope struct {
	XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"`
	//Header SoapHeader `xml:"http://schemas.xmlsoap.org/soap/envelope/ Header,omitempty"`
	Body SoapBody `xml:"http://schemas.xmlsoap.org/soap/envelope/ Body"`
}

type SoapFault

type SoapFault struct {
	Faultcode   string `xml:"faultcode,omitempty"`
	Faultstring string `xml:"faultstring,omitempty"`
	Faultactor  string `xml:"faultactor,omitempty"`
	Detail      string `xml:"detail,omitempty"`
}

func (*SoapFault) Error

func (f *SoapFault) Error() string

type SoapHeader

type SoapHeader struct {
	Header interface{}
}

Jump to

Keyboard shortcuts

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