aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
authorAndreas Reiter <andreas.reiter@iaik.tugraz.at>2014-03-06 11:30:30 +0100
committerAndreas Reiter <andreas.reiter@iaik.tugraz.at>2014-03-06 11:30:30 +0100
commit12052df3f07a1439f4126c34b683eb6e48230086 (patch)
tree7703391e1b66b00bc8deb463f9264feb67ca61b2 /id
parentf144311799a2d491bc6c7de88f43665cc8ad2254 (diff)
downloadmoa-id-spss-12052df3f07a1439f4126c34b683eb6e48230086.tar.gz
moa-id-spss-12052df3f07a1439f4126c34b683eb6e48230086.tar.bz2
moa-id-spss-12052df3f07a1439f4126c34b683eb6e48230086.zip
Fix EHvdAttributeProviderPlugin soap request
Diffstat (limited to 'id')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java
index 02ae5fd62..b99e0ca4d 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/stork2/EHvdAttributeProviderPlugin.java
@@ -101,7 +101,8 @@ public class EHvdAttributeProviderPlugin implements AttributeProvider {
// SOAP Body
SOAPBody requestBody = envelope.getBody();
SOAPElement requestBodyElem = requestBody.addChildElement("IsHealthcareProfessional");
- requestBodyElem.addAttribute(new QName("xmlns"), "http://gesundheit.gv.at/BAGDAD/DataAccessService");
+ requestBodyElem.addAttribute(envelope.createName("xmlns"), "http://gesundheit.gv.at/BAGDAD/DataAccessService");
+
SOAPElement requestBodyElem1 = requestBodyElem.addChildElement("bPK");
requestBodyElem1.addTextNode(new BPKBuilder().buildBPK(moasession.getIdentityLink().getIdentificationValue(), "GH"));