OVFManagerImportVAppFromUrl

This class can be used import or deploy an OVF Appliance from the specified URL.

Due to some issue with Jax WS deserialization, "HttpNfcLeaseState" is deserialized as
an XML Element and the Value is returned in the ObjectContent as the First Child of Node
ObjectContent[0]->ChangeSet->ElementData[0]->val->firstChild so correct value of HttpNfcLeaseState
must be extracted from firstChild node

Parameters:
host      [required] Name of the host system
urlpath   [required] OVFFile urlpath
vappname  [required] New vApp Name
datastore [optional] Name of the datastore to be used

Command Line:
run.bat com.vmware.vapp.OVFManagerImportVAppFromUrl --url [webserviceurl]
--username [username] --password  [password] --host [hostname]
--urlpath [OVFFile URL Path] --vappname [New vApp Name]

VMware vSphere Web Services Java Samples

This sample was originally released as a part of vSphere 6.0 under license terms that contained a provision that disallowed redistribution in source form. In order to encourage growth of community around VMware samples, these samples are being re-released under a commercially friendly open source license (BSD 3-Clause). See the file header for details.

The samples themselves are identical to the official release version with the exception of a changed copyright and license header on each file.

If you wish to run this sample, please download the official SDK from https://my.vmware.com/group/vmware/get-download?downloadGroup=MNGMTSDK600 and follow the provided instructions.

These samples are provided for reference with no warranty expressed or implied.

Sign in to be able to add comments.

Comments 0