1

Trying to develop a web-based app connecting to an existing production vCenter setup. According to the administration screens, the vSphere Web API's url is https://servername/sdk

When I try to access the API's wsdl at

(and all kinds of games with port number that shouldn't work and, in fact, don't)

I get 404. Always.

Any suggestions how to connect to the API?

Note that all existing machines and services are running just fine: Web Client connects and shows data, Power CLI gets all kinds of good stuff when using that to query the server, etc.

  • What version of VCenter are you running? – Zapto Jun 27 '16 at 12:30
  • VMware vCenter 5.5 – sq33G Jun 27 '16 at 12:34
0

Running Fiddler when PowerCLI was going, I saw that https://servername/sdk is in fact the location of the API.

I took the wsdl files provided in the vSphere SDK download and hosted them locally. Then I was able to generate a SOAP client based on them, and then I pointed the client's endpoint to the actual service.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.