diff --git a/src/main/java/de/ozgcloud/eingang/xta/XtaProperties.java b/src/main/java/de/ozgcloud/eingang/xta/XtaProperties.java index cbceb43352f35eb59598d30c1139e6ab871c4078..d67e12c64d2f2515cd0bd11a557664aab51d1aae 100644 --- a/src/main/java/de/ozgcloud/eingang/xta/XtaProperties.java +++ b/src/main/java/de/ozgcloud/eingang/xta/XtaProperties.java @@ -54,6 +54,10 @@ class XtaProperties { private KeyStore keyStore; @NotEmpty private List<String> identifiers; + + private boolean logSoapRequests; + private boolean logSoapResponses; + private boolean validateSoapSchemas; } @Validated diff --git a/src/main/java/de/ozgcloud/eingang/xta/XtaServiceConfiguration.java b/src/main/java/de/ozgcloud/eingang/xta/XtaServiceConfiguration.java index 078d7c14462a18612ebe8701115240c2e370f61a..4be3dc332095a40824b11cca43088d8b806f9a37 100644 --- a/src/main/java/de/ozgcloud/eingang/xta/XtaServiceConfiguration.java +++ b/src/main/java/de/ozgcloud/eingang/xta/XtaServiceConfiguration.java @@ -73,6 +73,9 @@ public class XtaServiceConfiguration { .msgBoxServiceUrl(getMsgBoxPortUrl()) .clientCertKeystore(clientCertKeyStore) .isMessageSupported(this::isSupportedMessageType) + .logSoapRequests(properties.isLogSoapRequests()) + .logSoapResponses(properties.isLogSoapResponses()) + .schemaValidation(properties.isValidateSoapSchemas()) .build(); }