aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/at/gv
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/at/gv')
-rw-r--r--src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java2
-rw-r--r--src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java14
2 files changed, 8 insertions, 8 deletions
diff --git a/src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java b/src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java
index 29b7b53..95c7140 100644
--- a/src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java
+++ b/src/test/java/at/gv/egiz/moazs/ITEndToEndTest.java
@@ -92,7 +92,7 @@ public class ITEndToEndTest {
APP = mockApp();
when(factory.create(any(), same(TNVZServicePort.class))).thenReturn(tnvz);
when(factory.create(any(), same(App2ZusePort.class))).thenReturn(msg);
- when(factory.create(any(), same(Mzs2AppPortType.class))).thenReturn(APP);
+ when(factory.createSoap11(any(), same(Mzs2AppPortType.class))).thenReturn(APP);
return factory;
}
diff --git a/src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java b/src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java
index ff0060e..bf74ac0 100644
--- a/src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java
+++ b/src/test/java/at/gv/egiz/moazs/SOAPUtilsTest.java
@@ -15,7 +15,7 @@ public class SOAPUtilsTest {
SOAPUtils utils;
private static final String SOAP_MESSAGE =
- "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body>" +
+ "<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\"><soap:Body>" +
"<DeliveryResponse xmlns=\"http://reference.e-government.gv.at/namespace/zustellung/msg/phas" +
"e2/20181206#\" xmlns:ns2=\"http://reference.e-government.gv.at/namespace/persondata/phase2/" +
"20181206#\" xmlns:ns3=\"http://www.w3.org/2000/09/xmldsig#\"><PartialSuccess><DeliverySyste" +
@@ -26,7 +26,7 @@ public class SOAPUtilsTest {
public static final String FORMATTED_MESSAGE =
"<soapenv:Envelope\n" +
- " xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n" +
+ " xmlns:soapenv=\"http://www.w3.org/2003/05/soap-envelope\"\n" +
" xmlns:msg=\"http://reference.e-government.gv.at/namespace/zustellung/msg/phase2/20181206#\">\n" +
" <soapenv:Body>\n" +
" <msg:DeliveryNotification>\n" +
@@ -38,7 +38,7 @@ public class SOAPUtilsTest {
public static final String CLUTTERED_MESSAGE =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<soapenv:Envelope " +
- " xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n " +
+ " xmlns:soapenv=\"http://www.w3.org/2003/05/soap-envelope\"\n " +
" xmlns:msg=\"http://reference.e-government.gv.at/namespace/zustellung/msg/phase2/20181206#\">\n" +
" <soapenv:Body unexpected-attribute=\"unexpectedvalue\"> \n" +
" <msg:DeliveryNotification>\n" +
@@ -48,14 +48,14 @@ public class SOAPUtilsTest {
"</soapenv:Envelope>\n";
private static final String MISSING_BODY_MESSAGE =
- "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><NotABodyTag></NotABodyTag></soap:Envelope>";
+ "<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\"><NotABodyTag></NotABodyTag></soap:Envelope>";
private static final String EMPTY_BODY_MESSAGE =
- "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body> </soap:Body></soap:Envelope>";
+ "<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\"><soap:Body> </soap:Body></soap:Envelope>";
public static final String EMPTY_APP_DELIVERY_ID_MESSAGE =
"<soapenv:Envelope\n" +
- " xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n" +
+ " xmlns:soapenv=\"http://www.w3.org/2003/05/soap-envelope\"\n" +
" xmlns:msg=\"http://reference.e-government.gv.at/namespace/zustellung/msg/phase2/20181206#\">\n" +
" <soapenv:Body>\n" +
" <msg:DeliveryNotification>\n" +
@@ -66,7 +66,7 @@ public class SOAPUtilsTest {
public static final String BLANK_APP_DELIVERY_ID_MESSAGE =
"<soapenv:Envelope\n" +
- " xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n" +
+ " xmlns:soapenv=\"http://www.w3.org/2003/05/soap-envelope\"\n" +
" xmlns:msg=\"http://reference.e-government.gv.at/namespace/zustellung/msg/phase2/20181206#\">\n" +
" <soapenv:Body>\n" +
" <msg:DeliveryNotification>\n" +