Appendix E. VI SDK Web Services

This appendix introduces the Web Services interfaces used in the VI SDK, including Simple Object Access Protocol (SOAP) basics, Web Services Definition Language (WSDL), stub code generation, and so on.

The VI SDK Web Services interface complies with the Web Services Interoperability Organization (WS-I) Basic Profile 1.0, which includes XML Schema 1.0, SOAP 1.1, and WSDL 1.1.


SOAP is a protocol facilitating client server communications. A SOAP message is encoded as an XML document that has an Envelope element as its root. Optionally, it can contain a Header element and a mandatory Body element. The Fault element within Body is used to report errors. Figure E-1 illustrates the structure of a SOAP message. ...

Get VMware VI and vSphere SDK: Managing the VMware Infrastructure and vSphere now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.