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.
1.1
1.2
const {SOAP} = require ('xml-toolkit') const msg = SOAP (mySoapVersion).message (body, header)
There was an error while loading. Please reload this page.