aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-10 09:04:26 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-10 09:04:26 +0200
commit0bb01c6701394d438ebdd94b4488a64d59f4e50b (patch)
treef0e99beeec279fdc1f3cee3961fdbb8d73cbd3f2 /src/main/java/at
parent8217b17db25229ae57ab50b350a30c4f1e0ad87f (diff)
downloadmoa-zs-0bb01c6701394d438ebdd94b4488a64d59f4e50b.tar.gz
moa-zs-0bb01c6701394d438ebdd94b4488a64d59f4e50b.tar.bz2
moa-zs-0bb01c6701394d438ebdd94b4488a64d59f4e50b.zip
Remove TargetNamespace Declaration in App2MzsService
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/gv/egiz/moazs/App2MzsService.java5
1 files changed, 1 insertions, 4 deletions
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))