Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 225804

Re: Using the vSphere API to Register a vSphere Client Plugin with VCenter 5.1 server

$
0
0

Thanks for the reply Laurent.

I have tried above with VI Java API for registration as :-

 

          ExtensionServerInfo esi = new ExtensionServerInfo();

          esi.setUrl("https://a-web-server-path/mypluginPackage.zip");    

          esi.setType("HTTPS");

          esi.setServerThumbprint("3D:E7:9A:85:01:A9:76:DD:AC:5D:83:1C:0E:E0:3C:F6:E6:2F:A9:97");           // Of server

 

          Extension ext = new Extension();

          ext.setServer((new ExtensionServerInfo[] { esi }));

 

and then

        

          ExtensionManager.registerExtension(ext);

 

It creates extension successfully but while registering plugin, throws exception as Invalid request.

 

I can register the plugin without providing ExtensionServerInfo successfully, But I want to use Https for server url.

 

Is there any other configurations needed for this?

 

Thanks,

Bhushan


Viewing all articles
Browse latest Browse all 225804

Latest Images

Trending Articles



Latest Images