suitetalk-0.0.1.0: Connection tools for Oracle Netsuite / SuiteTalk SOAP

Copyright(c) 2018 Chris D'Aloisio
LicenseMPL-2.0
Maintainerchris.daloisio@bellroy.com
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

SuiteTalk.XML

Description

This module contains helpers for constructing valid SOAP requests to Netsuite.

Synopsis

Documentation

newtype Header Source #

Wrap the Header in a newtype for now to allow later expansion for other authentication types

Constructors

Header TokenPassport 

buildBody :: ToXML a => a -> String -> XML Source #

Given any type that has an instance for ToXML, generate the body for the request

buildHeader :: Header -> XML Source #

Take a Header (which just wraps the TokenPassport) and convert it to XML