// apply feature here
if (!CxfEndpointUtils.hasAnnotation(cls, WebServiceProvider.class)) {
if (getDataFormat() == DataFormat.PAYLOAD) {
sfb.getFeatures().add(new PayLoadDataFormatFeature());
} else if (getDataFormat() == DataFormat.MESSAGE) {
sfb.getFeatures().add(new MessageDataFormatFeature());
}
} else {
if (LOG.isDebugEnabled()) {
LOG.debug("Ignore DataFormat mode " + getDataFormat()
+ " since SEI class is annotated with WebServiceProvider");