public static Map<String, XmlObject> getDefinitionParts(String wadlUrl) {
Map<String, XmlObject> result = new HashMap<String, XmlObject>();
try {
return SchemaUtils.getSchemas(wadlUrl, new UrlSchemaLoader(wadlUrl));
// URL url = new URL(wadlUrl);
// ApplicationDocument applicationDocument =
// ApplicationDocument.Factory.parse(url);
// result.put(url.getPath(), applicationDocument);