return portMap;
}
public static Map parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
try {
WebservicesDocument webservicesDocument = WebservicesDocument.Factory.parse(wsDDUrl);
SchemaConversionUtils.validateDD(webservicesDocument);
WebservicesType webservicesType = webservicesDocument.getWebservices();
return parseWebServiceDescriptor(webservicesType, moduleFile, isEJB, servletLocations);
} catch (XmlException e) {
throw new DeploymentException("Could not read descriptor document", e);
} catch (IOException e) {
return null;