1.5

Table Of Contents
Table 11-1. XML Namespace Identifiers in the vCloud API (Continued)
Name Value Requirement
xsi:schemaLocati
on
An installation-dependent schema location search path. See
http://www.w3.org/TR/xmlschema-0/.
Not required in request bodies.
xmlns:xsi http://www.w3.org/2001/XMLSchema-instance Not required in request bodies.
XML Namespace Prefixes in Request and Response Bodies
When a request or response includes elements from multiple XML namespaces, each element name is prefixed
with a namespace identifier. Unless all elements in a request or response originate in the same XML namespace,
these prefixes are required in request bodies, and are always included in response bodies.
The examples omit XML namespace identifiers from most responses. The following fragment shows how some
of them appear in a typical response body.
<VApp
xmlns="http://www.vmware.com/vcloud/v1.5"
...
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5
https://vcloud.example.com/api/schema/v1.5/master.xsd">
...>
...
</VApp>
Common vCloud API Attributes
Most vCloud API objects have a number of common attributes. With the exception of name, none of these
attributes are required in request bodies, and are ignored if included. All of them are included in response
bodies.
Object Name
Every object requires a name attribute. The string value of this attribute is included in all object references, and
can be used as the display name for the object. The value of name must be unique within a given scope.
Table 11-2. Requirements for Unique Object Names
Object Type Name Scope
ProviderVdc Cloud
Org Cloud
Vdc Organization
Catalog Organization
CatalogItem Catalog
vAppTemplate None
vApp Organization
Vm vApp
Media None
Network Container (Organization, vApp, or cloud)
Chapter 11 XML Representations in the vCloud API
VMware, Inc. 235