return "GetCapabilities".equalsIgnoreCase(operation.getId()) &&
operation.getService().getId().equals("wfs");
}
public String getMimeType(Object value, Operation operation) {
GetCapabilitiesType request = (GetCapabilitiesType) OwsUtils.parameter(operation
.getParameters(), GetCapabilitiesType.class);
if ((request != null) && (request.getAcceptFormats() != null)) {
//look for an accepted format
List formats = request.getAcceptFormats().getOutputFormat();
for (Iterator f = formats.iterator(); f.hasNext();) {
String format = (String) f.next();
if (format.endsWith("/xml")) {