This is a simple work for those who are familiar with node.js and SOAP.
I need to correct a function in Node js to add a product to VTEX ecommerce platform using the node-soap library ([login to view URL])
This is not an app, just a stand alone file, with a function I need to make it work, I'm just a newbye to SOAP so I need someone's help.
The file is attached ([login to view URL]), and that is what I've made so far
I also provide an xml file ([login to view URL]) with a working example to test (just changing the 'name' field)
The file [login to view URL] is the functions documentation
I will provide the necessary api key and token to make the tests