aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);