Package com.vmware.vim25.mo.util
Class VerUtil
java.lang.Object
com.vmware.vim25.mo.util.VerUtil
Deprecated.
The returned XML data is in the following format:
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2005-2007 VMware, Inc. All rights reserved.
-->
<definitions targetNamespace="urn:vim25Service"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:interface="urn:vim25"
>
<import location="vim.wsdl" namespace="urn:vim25" />
<service name="VimService">
<port binding="interface:VimBinding" name="VimPort">
<soap:address location="https://localhost/sdk/vimService" />
</port>
</service>
</definitions>
Utility class for checking the version of VISDK the server supports.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetTargetNameSpace(String target) Deprecated.Retrieve the target server's name space
-
Constructor Details
-
VerUtil
public VerUtil()Deprecated.
-
-
Method Details
-
getTargetNameSpace
Deprecated.Retrieve the target server's name space- Parameters:
target- either IP or host name- Returns:
- the namespace, e.g. urn:vim25Service
- Throws:
IOException- when there is a network issue or service issue on the target serverRuntimeException- wrapping NoSuchAlgorithmException, KeyManagementException which are not likely to happen. If it happens, you can catch the runtime exception and unwrap it for the real exceptions.
-