}
private void createServerFarm(String webSpaceName) throws ParserConfigurationException, SAXException, TransformerException, IOException, ServiceException, URISyntaxException {
int currentNumberOfWorkersValue = 2;
int numberOfWorkersValue = 2;
ServerFarmCreateParameters createParameters = new ServerFarmCreateParameters();
createParameters.setCurrentNumberOfWorkers(currentNumberOfWorkersValue);
createParameters.setCurrentWorkerSize(ServerFarmWorkerSize.Small);
createParameters.setNumberOfWorkers(numberOfWorkersValue);
createParameters.setStatus(ServerFarmStatus.Pending);
createParameters.setWorkerSize(ServerFarmWorkerSize.Small);
webSiteManagementClient.getServerFarmsOperations().create(webSpaceName, createParameters);
}