summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-01-20 14:19:45 (GMT)
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-01-20 14:19:45 (GMT)
commitd0a8dd9ddc945b19209075be6d66350bac16f051 (patch)
tree13823ed9dfa168829c667139bab3d743e6ec716d /utils
parenta0217c13a2542bc6bced45bd9465c2b272aae461 (diff)
downloadmocca-d0a8dd9ddc945b19209075be6d66350bac16f051.zip
mocca-d0a8dd9ddc945b19209075be6d66350bac16f051.tar.gz
mocca-d0a8dd9ddc945b19209075be6d66350bac16f051.tar.bz2
IdLink FIX
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@266 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'utils')
-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 28f421a..fb7943d 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);