"Access is forbidden" during create organization network
Hello, I encounter a problem while I'm trying to create an organization network using Java SDK : com.vmware.vcloud.sdk.VCloudException: Access is forbidden at...
View ArticleGetting error : unexpected element (uri:"", local:"VApp") while composeVapp
Hi All, While composing a vApp using Java sdk, I am getting the following exception: SEVERE: nulljavax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"VApp"). Expected elements are...
View ArticleHostDatastoreBrowser Bug?
Hi all, we are facing kind of strange Behavior while handling data from a vCenter: We receive the list of datastore's of a host via the HostDatastoreBrowser. This works fine but we came to a certain...
View ArticleDeveloping software with the SDK
I came across this article today and I was wondering if anyone could clarify what it is suggesting:...
View ArticleUnable to get vApp after Compose vApp failing from Java SDK
Hi All, I have this code that composes Vapp. Once the Vapp is created, it tries to power on the vApp. I was not able to find the vApp, it Vdc vdc2Use = main.findVdc("VDC02");...
View ArticleAdd new hard disk while composing vApp.
Hi All, Is it possible to add a new hard disk to the VM while composing a Vapp using a vappTemplate? I have tried adding the VirtualHardwareSection in the InstantiationParams of the VM as below. I get...
View ArticleHow to get Org as well as vDC infrastructure details using vCloud java SDK 1.5
Hi Folks, I am trying to get infrastructure capacity including Storage, CPU, RAM using vCloud java SDK 1.5. This should be @ Org as well as vDC level. I am able to get infrastructure details @ VM...
View Articleexception in HellovCloud
I am new to VMWARE,when i try to run HellovCloud, there always an Exception : Exception in thread "main" com.vmware.vcloud.sdk.VCloudRuntimeException: com.vmware.vcloud.sdk.VCloudRuntimeException:...
View Articlex-vcloud-authorization token via login sdk.
Hi All, Is there a way to get the x-vcloud-authorization header using the login Java SDK (vcloudClient.login(username,password)) ? Thanks,Deepak
View ArticleHow to get Internal IP and External IP of a Org.
Hi All, How to get the External IP and Internal IP of a Organization using vCloud SDK for JAVA. and Total number of IP's exist Thanks
View ArticleRedirect API logging
Hi, Currently, the API seems to only log messages to the console. For my application this isn't practical - are there any settings I can change to redirect the output to my own logging framework?
View ArticleHow to maintain session
Hi, Newbie to vCloud SDK for Java (1.5) I am able to login vCD using Org/Admin level credentials , my requirement is to maintain the session. Is there any way to maintain the session or to get session id.
View ArticlevCloud SDK redistributables
Hello, In the Redistributable and Modifiable files section it is mentioned: vcloud‐java‐sdk‐1.5.0.jar, rest‐api‐schemas‐1.5.0.jarHowever, in the SDK for 5.1 the name of these files is:...
View Articlejavax.net.ssl.SSLPeerUnverifiedException with proxy
Dear all, I get a SSLPeerUnverifiedException when tyring to login (from one of the samples): javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at...
View ArticleHow to build Java bindings for the 5.1 vCloud API via JAXB?
How to build Java bindings for the 5.1 vCloud API via JAXB? There is an excellent thread on HOWTO: Build Java bindings for the vCloud API via JAXB at http://communities.vmware.com/thread/327055.The...
View ArticleAdd vApp to Catalog - Customize VM settings
I've been able to figure out how to add a vApp as a template into a catalog, but when I do, it defaults to "Make identical copy." I'd like to set it as "Customize VM settings," but when I tried to...
View ArticleHow to get user with their respective role
Hi, I want to get role of user by which I login. I tried below sample code it shows all the roles at system level for (ReferenceType roleRef : vcloudClient.getVcloudAdmin().getRoleRefs()) {...
View ArticleSnapshot size of VM
Dear All, I want to know the snapshot size of a vm in datastore.Please hep me out on this. ThanksMahesh
View ArticleRename / Name VM at Compose / Recompose Time
Is it possible to specify a name for a VM at the time of specifying it as a source for a vApp composition or recomposition? I am trying to add multiple copies of the same VM to a vApp, each with known,...
View ArticleLeor Zahavi- Wants to know all about VMware vCloud SDK for Java
Hi! Myself Leor Zahavi, really interested to know all the functionality and usage of VMware vCloud SDK for Java. I read a couple of articles but didn’t understand very well. If possible provide some...
View Article