Question

I am trying to use NodeJS with soap and connect to VMWare's WSDL on a ESX or a virtual center but have been unable to do so. Any pointers would be really helpful.

I am using node-soap and I also found a php tutorial using soap to connect to ESX http://www.helixstorm.com/connecting-vsphere-api-php5-soap/

Thanks!

No correct solution

OTHER TIPS

I was able to create a connection to VMware's SOAP API using the node-soap module. The key is that their interface requires cookie authentication, so in addition to this module, you'll also need the soap-cookie module.

I recently authored a low-level wrapper that maintains a connection with a vCenter/ESXi host and allows you to issue vSphere API methods directly to it. You might get some inspiration from the source code I uploaded.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top