diff --git a/oslc4j-jena-provider/src/main/java/org/eclipse/lyo/oslc4j/provider/jena/AbstractOslcRdfXmlProvider.java b/oslc4j-jena-provider/src/main/java/org/eclipse/lyo/oslc4j/provider/jena/AbstractOslcRdfXmlProvider.java index 776ca63..9916fae 100644 --- a/oslc4j-jena-provider/src/main/java/org/eclipse/lyo/oslc4j/provider/jena/AbstractOslcRdfXmlProvider.java +++ b/oslc4j-jena-provider/src/main/java/org/eclipse/lyo/oslc4j/provider/jena/AbstractOslcRdfXmlProvider.java @@ -97,14 +97,7 @@ protected static boolean isWriteable(final Class type, final MediaType actualMediaType, final MediaType ... requiredMediaTypes) { - if (type.getAnnotation(OslcResourceShape.class) != null || - type.getAnnotation(OslcNotQueryResult.class) != null) - { - // We do not have annotations when running from the non-web client. - return isCompatible(actualMediaType, requiredMediaTypes); - } - - return false; + return true; } protected void writeTo(final Object[] objects,