IJIComObject unknown = comStub.createInstance();
IJIComObject wbemLocatorObj = unknown.queryInterface(WMI_CLSID);
IJIDispatch wbemLocatorDispatch = (IJIDispatch) JIObjectFactory.narrowObject(wbemLocatorObj.queryInterface(IJIDispatch.IID));
// Call WbemScripting.SWbemLocator.ConnectServer method,obtain SWbemServices object
JIVariant[] results = wbemLocatorDispatch.callMethodA("ConnectServer", new Object[]{
JIVariant.OPTIONAL_PARAM(),
(namespace == null) ? JIVariant.OPTIONAL_PARAM() : new JIString(namespace)
, JIVariant.OPTIONAL_PARAM(), JIVariant.OPTIONAL_PARAM(),
(locale == null) ? JIVariant.OPTIONAL_PARAM() : new JIString(locale),
(authority == null) ? JIVariant.OPTIONAL_PARAM() : new JIString(authority),