summaryrefslogtreecommitdiff
path: root/utils/src/main/java/at
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-02-11 20:09:19 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-02-11 20:09:19 +0000
commit1aa74c13ca1bcc7bc6583f1f64d25edc7754b5ee (patch)
treedfd1ab42e4b9640a757ab07ea5fed151ec2e85d4 /utils/src/main/java/at
parent26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5 (diff)
downloadmocca-1aa74c13ca1bcc7bc6583f1f64d25edc7754b5ee.tar.gz
mocca-1aa74c13ca1bcc7bc6583f1f64d25edc7754b5ee.tar.bz2
mocca-1aa74c13ca1bcc7bc6583f1f64d25edc7754b5ee.zip
A-Trust activation workarounds ('sl' preFIX, empty cardchannel namespace, cc:Result instead of Response)
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@300 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'utils/src/main/java/at')
-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;