Simple SOAP client for NodeJS. This module was created because none of the existing SOAP modules (most modules depend of https://www.npmjs.org/package/soap) would work with a third-party partner WSDL. As SOAP is just a POST request over HTTP, foam bypasses the WSDL discovery and just posts the data to the endpoint (which anyhow performs better than using the WSDL).
npm install foam --save
var operation = 'CelsiusToFahrenheit'namespace = ''action = ""message = 'Celsius': '23'uri = namespace + 'tempconvert.asmx';var foam = ;;
uri- endpoint of the SOAP service
operation- SOAP operation
options- an options object
header- optional SOAP header
namespace- optional xmlns namespace for the
namespaces- optional additional namespaces for the
benchmark- set to true to log the request timing to the console, defaults false
rejectUnauthorized- set to false to accept invalid certificates
secureProtocol- set to specific ssl protocol e.g.