aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-07-18 09:38:55 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-07-18 09:38:55 +0200
commit8bb3cdc03be4afaf6aa97cf84f3e4ea4f979c067 (patch)
tree0be1c2ea270db0b09de06b36686af67087544fa3
parent6d30f261c618a3b69a8f1be092056383e6dea424 (diff)
downloadmoa-zs-8bb3cdc03be4afaf6aa97cf84f3e4ea4f979c067.tar.gz
moa-zs-8bb3cdc03be4afaf6aa97cf84f3e4ea4f979c067.tar.bz2
moa-zs-8bb3cdc03be4afaf6aa97cf84f3e4ea4f979c067.zip
Validate Schema of app2mzs Messages in Both Directions
-rw-r--r--src/main/java/at/gv/egiz/moazs/service/MzsService.java3
1 files changed, 1 insertions, 2 deletions
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);