"A WebService annotation is not present on class:...
Hi,We have a vSphere HTML SDK plugin developed using vSphere 6.5 SDK. One of the dependencies for our plugin is vim25.jar (from the libs folder of vSphere 6.5 HTML SDK).Our plugin gets loaded...
View ArticleHow to wait a task after cloning VM with VMWare.vim.dll ?
Hello everybody, I work on a web interface which manage virtual machines on vsphere Esx 5.5. My interface is based on .net web forms (not MVC)I followed jeffpaton posts (using VMware.Vim ) which...
View ArticleHow to get IP address of vCenter Server?
I want to get IP address of vCenter Server from my plugin. But from vimObjectReferenceService, I only can get host name of vCenter Server (something like vc01.example.local). Is there anyway to get IP...
View Articlelock vsepehe
Hello we used vcenter server lock it We removed it vcenter but not unlock server on vcenter now we can not login to vSphere it massage locked please help me
View ArticleVSphere Java SDK: How to get the time when Virtual Machine was powered off
VSphere Java SDK: How to get the time when Virtual Machine was powered off For getting Powered on Time, I am using vm.getRuntime().getBootTime().getTime(); Problem is as per VM docs bootTime property...
View ArticleHow to get VirtualMachine moid
I just started working with the MOB and learning about MOID's. I was hoping to get the VirtualMachine MOID. We have ESXi hosts with free license. Any way to get this? I just want to execute...
View ArticleGet specific folder when there are multiple folders with the same name
Hi. I'm trying to resolve a similar issue as described here:Folder by Path - LucD notes However, I'm trying to use the vSphere API to resolve the issue. Trying to run the following code will display...
View ArticleMap vSphere API privileges to vSphere Web Client UI
Developers who work with the vSphere API (usually in Java or C#) ask how they can map privileges in the API to privilege strings in the vSphere Client. In the table below, up-arrows represent...
View ArticleHow to create a VI 2.5 client plugin
This is not a replacement for the white paper I am writing that describes VI client plugin development. Consider this a "BSG: Razor" tactic. Yes, the real product is coming, this is just to tide you...
View ArticleAlarmManager.createAlarm() API changes since 6.0
Hi All, UpdateIs there any mandatory property of AlarmSpec that I must supply in vsphere client SDK 6.0+? Looks like the SDK has enforced some validation against null value since 6.0+.The API document...
View ArticleHello, I have a question about creating users or groups in vCenter Server
Firstly, my main programming language is Java.Do you guys know how to create a user or group in the vCenter Server instead of ESXi server which to be needed to use HostLocalAccountManager class from...
View ArticleI have some question about creating users or groups in vSphere Center Server
Firstly, my main programming language is Java.Do you guys know how to create a user or group in the vCenter Server instead of ESXi server which to be needed to use HostLocalAccountManager class from...
View ArticleAlarmManager.createAlarm() API changes since 6.0
I'm working with vsphere client SDK to integrate functionalities into our management plugin for vmware, recently I find a compatibility issues with API version 6.0 or above: Just noticed some changes...
View ArticleHow can I control the vSphere API version?
We have recently upgraded to vSphere 6.0I failed to access the vSphere 6.0 specific API calls.According to the documentation, the property that we need to configure for enabling/disabling vSphere HA VM...
View ArticleC# Using Single SignOn (SSPI) for Virtual Center 2.5.0.119598
I am trying to use passthru authentication using SSPI to work in my c# application. Here is a snippet of the code I am trying to get to work. returns a reference for VMware.Vim.SessionManager...
View ArticleHow can I control the vSphere Web Services SDK/API version?
We have recently upgraded to vSphere 6.0I'm using the Web Services SDK for .Net.I failed to access the vSphere 6.0 specific API calls.According to the documentation, the property that we need to...
View ArticleHow can I create a user in VCenter Server, using vim25?
I can create a user account through the web client.But I want to create users, using vim25 SDK(JAVA).I can retrieve user information from UserDirectory(retriveUserGroups method) but I couldn't find the...
View ArticleHow can I bypath the Root CA when using HTML Console?
I want users to see their HTML console directly without installing root CA on their computers. I have been using vim25(JAVA) for developing.Is there a way to bypath the Root CA when using HTML...
View ArticleIs PerformanceManager thread safe?
Hi all,Is this ManagedObject thread-safe? If multiple threads are sharing it, is it ok to make it...
View Article