Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

Unable to connect VCD through vsphere plug-in

$
0
0

we are developing a vsphere plugin where in we need to connect to VCD.

When  calling the login method (with the appropriate username and password strings)  from a vCloudClient object, I got the following  NullPointerException:

 


java.lang.NullPointerException
at  com.vmware.vcloud.sdk.JAXBUtil.unmarshallResource(JAXBUtil.java:66)
at  com.vmware.vcloud.sdk.Response.getResource(Response.java:109)
at  com.vmware.vcloud.sdk.VcloudClient.getSupportedVersions(VcloudClient.java:193)
at  com.vmware.vcloud.sdk.VcloudClient.login(VcloudClient.java:276)

 

I am  able to connect through standalone application to VCD

but  could not connect while running the same code in Virgo  Server which is used for developing flex based vsphere plug-in.

 

We are  using

1)  Virgo Server (within vsphere plug-in)

2)  STS3.1


Viewing all articles
Browse latest Browse all 1860

Trending Articles



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