Hi Reuben, Iamw
Basically I am writing a java utility that registes my plugin package (zip file) with the vcenter 5.1 server. As part of registration I am internally contructing the extension url for which I needed the port. I was thinking it may be unsafe to hardcode the https port (needed in the extension url). So I have defined it as 8443 in the code but also I allow the user to override that incase (by fluke) the port changes.
Now Inorder to avoid the user entry to retrieve the modified port (if at all modified) I wanted to query for it in the program itself.
When u mentioned (under the ServiceInstance, there is a property called Settings) did u imple ServiceContent? I see setting under service content accessed via OptionManager.
Could you please provide me with a sample code to retrieve it, if possible?
Thanks
Elizabeth