VMware {code} Community
arozar
Contributor
Contributor

vSphere Management SDK url is just blank page

I'm trying to get started using the vSphere API, reading the document at the link below I should be able to browse to my vcenter using "sdk" in the URL but it's blank. Also I read that you have to download the root certificates, but that link is not where this document claims it is. I'm using 5.5

https://vdc-download.vmware.com/vmwb-repository/dcr-public/2d445149-7707-4c7d-98a7-9f00394b7df2/7322...

Do I need to enable this SDK in vCenter?

Reply
0 Kudos
5 Replies
rcporto
Leadership
Leadership

Do I need to enable this SDK in vCenter?

No, and what you're getting is the expected behavior: VMware KB: Cannot access the SDK URL at https://servername/sdk

The service athttps://localhost/sdk is not an HTML webserver that can serve web pages. The service functions over the SOAP protocol (an .xml based protocol) and only responds to SOAP requests.

For example a SOAP protocol request will serve https://vcenteripaddress/sdk/vimService.wsdl page wherevimservice.wsdl is the name of the Web Services Description Language (WSDL) webpage file provided by VMware.

Try browse the URL https://vcenteripaddress/sdk/vimService.wsdl

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
Reply
0 Kudos
arozar
Contributor
Contributor

Thanks for you reply, that helps very much. Am I safe to assume that all the references I need are in the "VMware vSphere API Reference Documentation"? I'm using python but all the references seem to be for .NET and Java.
Reply
0 Kudos
rcporto
Leadership
Leadership

Not sure about python, but you can found more information here: vSphere API and SDK Documentation

And on this link I found some reference to python: VMware API and SDK Documentation

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
Reply
0 Kudos
stumpr
Virtuoso
Virtuoso

As Richardson Porto pointed out, /sdk is the SOAP endpoint.  There is also web-ui oriented interface called the mob at /mob.

Overall the API documentation is generic to any of the SDK kits (Python, Perl, dotNet, Java, etc).

For Python, you'll probably want to use pyvmomi: https://github.com/vmware/pyvmomi

You'll have to know the utility functions for each SDK (they vary) and there are some quirks between how you instantiate the API objects.

Reuben Stump | http://www.virtuin.com | @ReubenStump
Reply
0 Kudos
Eakkasak
Contributor
Contributor

Hello Everyone,

     I'm have same issue, please suggest me how to enable SDK (I'm running vCenter 6)

Thanks,

Eakkasak

Reply
0 Kudos