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.WSDL

Contents

Description

Give me a WSDL and I'll give you a service representation.

You can use the generateWSDLfromURL function to download and generate a WSDL model which can be used by the XML and SOAP modules.

Synopsis

Primary functions

generateWSDLfromURL :: String -> IO (Either Error WSDL) Source #

Given the URL of a WSDL, download, parse and convert to the WSDL data type

mkEndpointURL :: Endpoint -> String Source #

Create the endpoint URL string from the Endpoint data type

Data types

data WSDL Source #

Constructors

WSDL Endpoint [Operation] 
Instances
Eq WSDL Source # 
Instance details

Defined in SuiteTalk.WSDL

Methods

(==) :: WSDL -> WSDL -> Bool #

(/=) :: WSDL -> WSDL -> Bool #

Show WSDL Source # 
Instance details

Defined in SuiteTalk.WSDL

Methods

showsPrec :: Int -> WSDL -> ShowS #

show :: WSDL -> String #

showList :: [WSDL] -> ShowS #

data Endpoint Source #

Constructors

Endpoint Host Port 
Instances
Eq Endpoint Source # 
Instance details

Defined in SuiteTalk.WSDL

Show Endpoint Source # 
Instance details

Defined in SuiteTalk.WSDL

data Error Source #

Instances
Eq Error Source # 
Instance details

Defined in SuiteTalk.WSDL

Methods

(==) :: Error -> Error -> Bool #

(/=) :: Error -> Error -> Bool #

Show Error Source # 
Instance details

Defined in SuiteTalk.WSDL

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Internal helper functions

serviceUrlMatches' :: Cursor -> [[Text]] Source #

operationMatches' :: Cursor -> [[Text]] Source #