From 8bb3cdc03be4afaf6aa97cf84f3e4ea4f979c067 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Thu, 18 Jul 2019 09:38:55 +0200 Subject: Validate Schema of app2mzs Messages in Both Directions --- src/main/java/at/gv/egiz/moazs/service/MzsService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/at/gv/egiz/moazs/service') diff --git a/src/main/java/at/gv/egiz/moazs/service/MzsService.java b/src/main/java/at/gv/egiz/moazs/service/MzsService.java index c6871da..d48f668 100644 --- a/src/main/java/at/gv/egiz/moazs/service/MzsService.java +++ b/src/main/java/at/gv/egiz/moazs/service/MzsService.java @@ -24,9 +24,8 @@ import static at.gv.zustellung.app2mzs.xsd.PartialSuccessType.partialSuccessType import static java.lang.String.format; import static java.util.concurrent.CompletableFuture.supplyAsync; -//todo : validate Schema in both directions. @Service -@SchemaValidation(type = SchemaValidation.SchemaValidationType.IN) +@SchemaValidation(type = SchemaValidation.SchemaValidationType.BOTH) public class MzsService implements App2MzsPortType { private static final Logger logger = LoggerFactory.getLogger(MzsService.class); -- cgit v1.2.3