soap

Summit SOAP service library.

Functions

Name Summary
soapCall

Call soap actions.

Functions : soap

soapCall(url, options)

Call soap actions. Make a soap request to the provided url with the passed params.

Parameters
Name Type Default Summary

url

string

String of url to make request to

options

table

Parameter: options
Name Type Default Summary

action

table

{}

String name of SOAP action to be taken.

headers

table

{}

Table of key/value pairs to be sent as request headers

payload

table

{}

Table of key/value pairs to be provided as parameters for the specified SOAP action (see action). Current does not accept flat values.

raw_payload

table

{}

Not yet implemented.

Returns
Type Summary

table or nil

HTTP Response Object

nil or string

Error message when an error occurs, or nil otherwise