Skip to content

SOAPEncoding

do- edited this page Sep 16, 2024 · 15 revisions

SOAPEncoding is a class partially implementing the SOAP Encoding style.

Constructor

 const se = new SOAPEncoding (
//  {
//    emptyScalar: undefined, // may be null
//  }
 )

Methods

decode (node)

For a given XMLNode, returns the corresponding plain javaScript Object.

Anything with truthy xsi:nil is read as null.

Arrays are read as Arrays.

Maps from http://xml.apache.org/xml-soap namespace are read as Objects.

All simple Types are read as strings.

Clone this wiki locally