networkParams[0].setParamValue(Double.valueOf(propertiesConfig.getProperty("connectanceDefault")));
networkParams[1] = new ModelParam();
networkParams[1].setParamName(ManipulatingNodePropertyName.SpeciesCount.name());
networkParams[1].setParamValue(Integer.valueOf(propertiesConfig.getProperty("speciesCountDefault")));
NetworkCreationRequest req = new NetworkCreationRequest();
req.setUser(user); // Owner of network
req.setNetworkName(networkName); // Name of network -> username_worldname_zoneid
req.setModelType(ModelType.CASCADE_MODEL.getModelType());
req.setModelParams(networkParams);
req.setCreationType(1); // sub food web
req.setOriginFoodweb(propertiesConfig.getProperty("serengetiNetworkId")); // Serengeti
req.setNodeList(nodeList);
req.setOverwrite(overwrite);
CreateFoodwebResponse response = null;
try {
response = (CreateFoodwebResponse) svc.executeNetworkCreationRequest(req);
netId = response.getNetworkId();