Map<String, SchemaValidationType> operationMap = new HashMap<String, SchemaValidationType>();
operationMap.put("saveInheritEndpoint", SchemaValidationType.BOTH);
operationMap.put("saveNoValidation", SchemaValidationType.NONE);
operationMap.put("saveValidateIn", SchemaValidationType.IN);
operationMap.put("saveValidateOut", SchemaValidationType.OUT);
DefaultSchemaValidationTypeProvider provider = new DefaultSchemaValidationTypeProvider(operationMap);
SchemaValidationFeature feature = new SchemaValidationFeature(provider);
createServer(PersonService.class, new PersonServiceImpl(), feature);