Quantcast
Channel: VMware Communities : Discussion List - VMware vCloud SDK for Java
Browsing all 144 articles
Browse latest View live

xml binding for vcloud 5.1 api for scala, using scalaxb

Is there a prescribed way to generated scala xml bindings for vcloud 5.1 api, We tried to generate class files using scala 2.10.0 and scalaxb 1.0.0, Unexpectedly compile failed at...

View Article


Image may be NSFW.
Clik here to view.

How to programmatically disable IP masquerade ?

How using Java API, programmatically remove "IP masquerade" option from "network -> configure sevices -> NAT Mapping" tab ?should become : 

View Article


problem downloading sdk

I'm trying to download the sdk for java from this page. http://www.vmware.com/support/pubs/vcd_pubs.html      THe download link does not function for me.  Is this link good? 

View Article

Sources for Java SDK

Are there source jars available for the vcloud-5.10.jar and rest-api-schemas.jar?

View Article

How to get the groups a user is in

I am trying to get all the groups that a specific user is a member of. I am trying the following: ReferenceType newUserReference = getCommandSession().getUserReferenceByName("user"); //method that gets...

View Article


SDK returns StorageCapacity null

I'm using Java SDK to access VMWare VCoud Director. I need same data from the VDC's (CPU used, CPU limit, memory used, etc.). I've no problem with all data except "storage capacity" which is always...

View Article

Unmarshaller exception with the vCloud SDK for Java

Hi, I'm trying to use the vCloud SDK within Spring.When calling the login method (with the appropriate username and password strings) from a vCloudClient object, I got the following...

View Article

Organization network cannot be deleted, because it is in use ?

Using vCD 5.1 and having difficulty deleting the organization network after deleting the vApp that was using it. Code snippet below. Why would this happen if using the waitForTask(0)?  Thanks for your...

View Article


VappTemplate uploadFile(String fileName, InputStream is, long startByte, long...

Hi, I'm trying to use the uploadFile() API in the VappTemplate class to upload large VMDK files in chunks so I can determine and report upload progress over the entire upload time using...

View Article


vCloud Director vApp hot clone doesn't work with the Java API

Hello, We have an important use case in vCD 5.1.2 to clone/copy a fenced vApp without shutdown the vApp.It is not possible from the GUI, that's why we are trying to handle it from the Java API.We tried...

View Article

Adding more than 15 disks to a VM fails

Hi, I'm attempting to attach disks to a blank VM. I can add up to 16 disks just fine, but adding any more returns the vSphere error "The device '0' is referring to a nonexisting controller '1,001". I...

View Article

java sdk vcloudclient ssoLogin() w/ samlassertion

Hi all, I have an issue attempting to perform an ssoLogin.  Please see: https://communities.vmware.com/message/2276630 Thank you!

View Article

ssoLogin w/ samlAssertion from idp fails: Signature is not trusted or invalid...

I am attempting to login via the java sdk ssoLogin() with a samlassertion from an openam idp.  The result is a signature validation exception.  I must be missing some trust configuration, but where?...

View Article


Redefining network settings when creating vApp from template

I need some assistance with redefining Network settings on vApp instantiation.I want to able able to change the network that is defined in a vApp Template when I deploy a vApp from it. For instance, if...

View Article

What exactly does the compute capacity's Limit field map to ?

I am provisioning an Org VDC using the Java SDK. Code Snippet 1, below shows the allocation being set to "2048 MB" and limit is set to "4048 MB". Shown in Code Snippet 2, the guarantees are set to 0.5....

View Article


what is vSphere SDK for Java versus VCloud SDK for Java?

Hi: I'm new to VMware and after reading the API overview , I still haven't "got it" since its confusing as to its intended usage. Q1:  What is vSphere versus vCloud API and what usage they were...

View Article

Best practice for the client app to maintain session information across...

Hi all, I am new to using VCD Java SDK API so this might be an easy one and I just haven't found the answer in the API docs and forums. To provide some context to my question, I will briefly describe...

View Article


how to change a disk size

I nead to programaticly adjust a disk size via java vCloud api... how can I do that if I use thic sode it gives me errors like com.vmware.vcloud.sdk.VCloudException: Not a Hard Disk - SCSI Controller 0...

View Article

The guest operations agent could not be contacted

I tried to read an environment variable from the guest using Java API and got : Caused by: javax.xml.ws.soap.SOAPFaultException: The guest operations agent could not be contacted.at...

View Article

How to renew the lease of a VApp in VCloud director 5.1 Java API?

So I'm writing a java service that will use the VCloudDirector API to extend the storage life of a Vapp. How the method that I need VappTemplate.updateSection() is deprecated. Why is it deprecated and...

View Article
Browsing all 144 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>