How to add namespace to SOAP request using soap-node – Node.JS

February 24, 2019

I have XML request in the following format. How to add the XML NAMESPACE to the request JSON I’m going to send to SOAP server?

A:

There are three namespaces defined in the XML. When adding them to JSON you can add them to the attributes key in the following way

 

 

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *