summaryrefslogtreecommitdiff
path: root/utils/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/main/java')
-rw-r--r--utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ObjectFactory.java7
-rw-r--r--utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java2
2 files changed, 5 insertions, 4 deletions
diff --git a/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ObjectFactory.java b/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ObjectFactory.java
index cb0a163c..29124935 100644
--- a/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ObjectFactory.java
+++ b/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ObjectFactory.java
@@ -28,7 +28,8 @@ public class ObjectFactory {
private final static QName _Grunddaten_QNAME = new QName("", "Grunddaten");
private final static QName _Script_QNAME = new QName("", "Script");
- private final static QName _Response_QNAME = new QName("", "Response");
+ /** A-Trust expects <pre>&lt;Result></pre> instead of <pre>&lt;Response></pre> */
+ private final static QName _Response_QNAME = new QName("", "Result"); //Response");
private final static QName _SVPersonenbindung_QNAME = new QName("", "SV-Personenbindung");
private final static QName _Status_QNAME = new QName("", "Status");
private final static QName _EHIC_QNAME = new QName("", "EHIC");
@@ -132,9 +133,9 @@ public class ObjectFactory {
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ResponseType }{@code >}}
- *
+ * A-Trust expects <pre>&lt;Result></pre> instead of <pre>&lt;Response></pre>
*/
- @XmlElementDecl(namespace = "", name = "Response")
+ @XmlElementDecl(namespace = "", name = "Result") //Response")
public JAXBElement<ResponseType> createResponse(ResponseType value) {
return new JAXBElement<ResponseType>(_Response_QNAME, ResponseType.class, null, value);
}
diff --git a/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java b/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java
index 13f79000..f5c1ac04 100644
--- a/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java
+++ b/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java
@@ -1,2 +1,2 @@
-@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.buergerkarte.at/cardchannel", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+@javax.xml.bind.annotation.XmlSchema(namespace = "", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package at.buergerkarte.namespaces.cardchannel;