summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-01-20 14:19:45 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-01-20 14:19:45 +0000
commitd0a8dd9ddc945b19209075be6d66350bac16f051 (patch)
tree13823ed9dfa168829c667139bab3d743e6ec716d
parenta0217c13a2542bc6bced45bd9465c2b272aae461 (diff)
downloadmocca-d0a8dd9ddc945b19209075be6d66350bac16f051.tar.gz
mocca-d0a8dd9ddc945b19209075be6d66350bac16f051.tar.bz2
mocca-d0a8dd9ddc945b19209075be6d66350bac16f051.zip
IdLink FIX
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@266 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
-rw-r--r--utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java b/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java
index 28f421a4..fb7943dc 100644
--- a/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java
+++ b/utils/src/main/java/at/gv/egiz/idlink/IdentityLinkFactory.java
@@ -81,6 +81,7 @@ import org.apache.commons.logging.LogFactory;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
+import at.gv.e_government.reference.namespace.persondata._20020228_.AbstractPersonType;
import at.gv.e_government.reference.namespace.persondata._20020228_.IdentificationType;
import at.gv.e_government.reference.namespace.persondata._20020228_.PersonNameType;
import at.gv.e_government.reference.namespace.persondata._20020228_.PhysicalPersonType;
@@ -216,7 +217,7 @@ public class IdentityLinkFactory {
physicalPersonType.getIdentification().add(identificationType);
physicalPersonType.setName(personNameType);
physicalPersonType.setDateOfBirth(dateOfBirth);
- JAXBElement<PhysicalPersonType> physicalPerson = prFactory.createPhysicalPerson(physicalPersonType);
+ JAXBElement<AbstractPersonType> physicalPerson = prFactory.createPerson(physicalPersonType);
AnyType personType = asFactory.createAnyType();
personType.getContent().add(physicalPerson);