The Metadata API consists of two types of services: file-based and object-based. These service types are summarized next:
File-based services—The file-based services are
deploy service takes a Base64-encoded zip file containing the components to deploy into the Force.com organization. The zip file must contain a manifest file named
package.xml at its root to describe the contents of the zip. The
retrieve service downloads metadata from Force.com and returns it as a zip file complete with
package.xml as manifest. Its input is a
RetrieveRequest object to specify the types of metadata to download. Both services can ...