From 3d8969fb3bbde9972c0d60881699d8494620280c Mon Sep 17 00:00:00 2001 From: Andre Bolder Date: Tue, 5 Jul 2022 09:36:56 +0200 Subject: [PATCH] rollback change --- .../smartmetering/config/SmartmeteringWebServiceConfig.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osgp/shared/osgp-ws-smartmetering/src/main/java/org/opensmartgridplatform/ws/smartmetering/config/SmartmeteringWebServiceConfig.java b/osgp/shared/osgp-ws-smartmetering/src/main/java/org/opensmartgridplatform/ws/smartmetering/config/SmartmeteringWebServiceConfig.java index 8d0121961b6..91f1c558498 100644 --- a/osgp/shared/osgp-ws-smartmetering/src/main/java/org/opensmartgridplatform/ws/smartmetering/config/SmartmeteringWebServiceConfig.java +++ b/osgp/shared/osgp-ws-smartmetering/src/main/java/org/opensmartgridplatform/ws/smartmetering/config/SmartmeteringWebServiceConfig.java @@ -64,6 +64,11 @@ public PayloadValidatingInterceptor payloadValidatingInterceptor() { return payloadValidatingInterceptor; } + @Bean(name = "base-ws-smartmetering") + public SimpleXsdSchema baseWsSmartmeteringXsd() { + return new SimpleXsdSchema(new ClassPathResource(COMMON_XSD_PATH)); + } + @Bean(name = "common") public SimpleXsdSchema commonXsd() { return new SimpleXsdSchema(new ClassPathResource(COMMON_XSD_PATH));