transformer.transform(domSource, streamResult);
} catch (TransformerException e) {
e.printStackTrace();
}
NetworkSetConfigurationParameters parameters = new NetworkSetConfigurationParameters();
parameters.setConfiguration(stringWriter.toString());
try {
networkOperations.setConfiguration(parameters);
} catch (InterruptedException e) {
} catch (ExecutionException e) {
} catch (ServiceException e) {