addResource(resource, "json", "format=json", mashup, "application/json");
addResource(resource, "xml", "format=xml", mashup, "application/xml");
addResource(resource, "jsonp", "format=jsonp", mashup, "application/javascript");
return applicationDocument.xmlText(new XmlOptions().setSavePrettyPrint());
}
public static String generateWADLForMashupRESTServiceJSON(String myCocktailPath, int mashupId) throws DAOException, IOException {
Mashup mashup = getMashup(mashupId);