From 0bb01c6701394d438ebdd94b4488a64d59f4e50b Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Fri, 10 May 2019 09:04:26 +0200 Subject: Remove TargetNamespace Declaration in App2MzsService --- src/main/java/at/gv/egiz/moazs/App2MzsService.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main') diff --git a/src/main/java/at/gv/egiz/moazs/App2MzsService.java b/src/main/java/at/gv/egiz/moazs/App2MzsService.java index 6c59f85..2fcfd15 100644 --- a/src/main/java/at/gv/egiz/moazs/App2MzsService.java +++ b/src/main/java/at/gv/egiz/moazs/App2MzsService.java @@ -4,7 +4,6 @@ import at.gv.egiz.moazs.pipeline.DeliveryPipeline; import at.gv.egiz.moazs.repository.DeliveryRepository; import at.gv.zustellung.app2mzs.xsd.App2MzsPortType; import at.gv.zustellung.app2mzs.xsd.DeliveryRequestType; -import at.gv.zustellung.msg.xsd.DeliveryAnswerType; import at.gv.zustellung.msg.xsd.DeliveryRequestStatusType; import org.apache.cxf.annotations.SchemaValidation; import org.slf4j.Logger; @@ -29,7 +28,6 @@ public class App2MzsService implements App2MzsPortType { //TODO move timeout and namespaces to config private static final int TIMEOUT_FOR_ANWSER = 10; - private static final String MZSTNS = "http://reference.e-government.gv.at/namespace/zustellung/mzs/app2mzs#"; private final DeliveryRepository repository; private final DeliveryPipeline pipeline; @@ -47,8 +45,7 @@ public class App2MzsService implements App2MzsPortType { @Override public DeliveryRequestStatusType app2Mzs( @WebParam(partName = "DeliveryRequest", - name = "DeliveryRequest", - targetNamespace = MZSTNS) + name = "DeliveryRequest") DeliveryRequestType deliveryRequest) { var future = supplyAsync(() -> preprocessor.preProcess(deliveryRequest)) -- cgit v1.2.3