Javascript and SOAP (CUCM)

193 Views Asked by At

I'm using this code (http://blog.darrenparkinson.uk/2014/04/accessing-cisco-administrative-xml-axl.html) to make connection with CUCM. But, this code returns the XML in console. I need a XML file or .CSV file for open in Excel. How can I do this?

Tks

2

There are 2 best solutions below

1
On

Are you trying to get a list of all the Route Patterns on the Call Manager? etc. I guess this should help:

https://medium.com/@chandupriya93/xml-to-excel-conversion-using-node-js-d70296ba3bea

This uses an xml2js and json2xls module to parse the XML file into a JSON file and finally convert into XLS.

Hope this helps.

Ank

0
On

Another choice is camaro. You can take the element you want as an array easy. then convert that to csv

You can see the sample in that package