DataReaderFactory factory = service.getDataBinding().getDataReaderFactory();
setSchemaInMessage(service, message);
DataReader<XMLStreamReader> dataReader = null;
for (Class<?> cls : factory.getSupportedFormats()) {
if (cls == XMLStreamReader.class) {
dataReader = factory.createReader(XMLStreamReader.class);
break;
}
}
if (dataReader == null) {
throw new Fault(new org.apache.cxf.common.i18n.Message("NO_DATAREADER",