}
public static Map<String,PortInfo> parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
XmlObject webservicesType = getWebservicesType(wsDDUrl);
if (webservicesType instanceof WebservicesType) {
WebservicesType webServices = (WebservicesType)webservicesType;
return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
} else if (webservicesType instanceof org.apache.geronimo.xbeans.javaee6.WebservicesType) {
org.apache.geronimo.xbeans.javaee6.WebservicesType webServices = (org.apache.geronimo.xbeans.javaee6.WebservicesType)webservicesType;
return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
} else {