VMware {code} Community
ihryamzik
Contributor
Contributor

Getting started with WSDLs

I've downloaded the latest SDK and would like to create classes using WSDL files. The problem is that I didn't find anything about "service instace", so I've no idea how to actually connect to vSphere without it. So do the WSDLs coming with SDK work? If not, where cat I find WSDLs containing all the classes and methods?

0 Kudos
1 Reply
stumpr
Virtuoso
Virtuoso

They do, it should be defined as an operation on your soap endpoint.  You are looking for RetrieveServiceContent().  From there you can go call into SessionManager.Login(), etc.

What language are you working on?  A lot of the SDK kits abstract some of the inventory traversal and RetrieveServiceContent() steps.  We have some posts on the forums on using gsoap with c++ that are pretty low level in the steps if you would find those useful.  Here's a link to a forum thread that was converted to a DOC.

http://communities.vmware.com/docs/DOC-10296

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