Simple nodejs library to make requests to the CV3 soap service for debugging purposes.
- Clone the repo
- Create a new dotenv file named
.env
with the following contents:CV3_USER=<cv3-username> CV3_PASS=<cv3-password> CV3_SERVICE_ID=<cv3-service-id>
- NOTE:
.env
should NOT be checked into the repo and has been added to the.gitignore
- Run
npm install
oryarn
- Add your XML file to the
./data/
diretory - Update
xmlData
in./bin/index.js
with the path to your xml file (e.g../data/jld-5053.xml
) - Run
npm start
oryarn start
to process your XML file and push the data to CV3 - The XML response will be output to the screen