3.0
Table Of Contents
- SOAP API Guide
- Contents
- About This Book
- Introducing VMware Lab Manager SOAP API
- Getting Started with the Lab Manager SOAP API
- Lab Manager API Data Types
- Lab Manager API Method Reference
- ConfigurationCapture
- ConfigurationCheckout
- ConfigurationClone
- ConfigurationDelete
- ConfigurationDeploy
- ConfigurationPerformAction
- ConfigurationSetPublicPrivate
- ConfigurationUndeploy
- GetConfiguration
- GetConfigurationByName
- GetMachine
- GetMachineByName
- GetSingleConfigurationByName
- ListConfigurations
- ListMachines
- LiveLink
- MachinePerformAction
- Index
VMware, Inc. 15
Chapter 2 Getting Started with the Lab Manager SOAP API
To add a Web reference
1FromtheWindowsStartmenu,launchMicrosoftVisualStudio.NET2003.
TheVisualStudioenvironmentopens.
2 SelectNewProjecttocreateanewproject,orselectOpentoopenanexisting
project.
3InVisualStudio,chooseAddWebReferencefromtheProjectmenu.
4IntheURLtextbox,typetheURLto
obtaintheservicedescriptionofthe
Lab ManagerWebservice:
https://<hostname>/LabManager/SOAP/LabManager.asmx
5ClickGo.
ThecertificateexchangebetweentheLab Managerserverandthedevelopment
environmentclientbegins.Asecurityalertdisplaysthedetailsofthecertificate
sentfromtheserver.
6ClickYes.
AnalertfromtheVisualStudioenvironmentmightappear.ClickYes.
The
MicrosoftVisualStudioenvironmentconnectstotheWebserviceendpointand
displaystheoperationsdescribedintheLab ManagerWebserviceWSDL.
7 SelectthetextintheWebreferencenametextboxandrenametheWebreference
toLabManagerSoap,thenamespaceusedforthisWebreference.
“LabManagerSoap”isoneword,withoutspaces.
8ClickAddReference.
Acertificatewarningmessagemightappear.ClickYes.
9ClickYesagain.
Seethe“A d d i ng andRemovingWebReferences”topicintheVisualStudio
documentation.
N
OTEThesecurityalertmessagesaregeneratedwhentheLab Managerserver
usesthedefault,self‐signedcertificates.Youcanreplacethesecertificatesonthe
Lab ManagerserverwithcertificatespurchasedfromVerisign,Thawte,andother
certificateauthorities.