Skip to content
do- edited this page Dec 16, 2022 · 1 revision

Global function returning either SOAP11 or SOAP12 depending on the argument.

For all arguments except for 1.1 and 1.2 (number or string), an error is thrown.

const {SOAP} = require ('xml-toolkit')

const msg = SOAP (mySoapVersion).message (body, header)

Clone this wiki locally