/** * @return provides fileSprayClient for direct method execution * @throws Exception */ public HPCCWsSQLClient getWsSQLClient(String wsSQLPort) { synchronized (connectionLock) { Connection tempConn = new Connection(connection.getProtocol(), connection.getHost(), wsSQLPort); tempConn.setCredentials(connection.getUserName(), connection.getPassword()); return (HPCCWsSQLClient) SubClients.get(HPCCWsSQLClient.get(tempConn)); } }
/** * @return provides fileSprayClient for direct method execution * @throws Exception */ public HPCCWsSQLClient getWsSQLClient() { try { return getWsSQLClient(String.valueOf(HPCCWsSQLClient.getOriginalPort())); } catch (MalformedURLException e) { e.printStackTrace(); return null; } }
/** * Reports the version of the original WSDL used to create the HPCCWsAttributesClient logic. * * @return Original WSDL version */ public String getWsSQLClientVer() { return Utils.parseVersionFromWSDLURL(HPCCWsSQLClient.getOriginalWSDLURL()); }