diff --git a/OMDSServiceDefinition/pom.xml b/OMDSServiceDefinition/pom.xml index fe62efe6..857e2490 100644 --- a/OMDSServiceDefinition/pom.xml +++ b/OMDSServiceDefinition/pom.xml @@ -5,7 +5,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs OMDSServiceDefinition 1.8.0 OMDS Service Definition - Dieses Projekt enthaelt die Definitionen fuer die OMDS Services. + Version 1.8.0 - Hotfix 1. Dieses Projekt enthaelt die Definitionen fuer die OMDS Services. r1_8_0 @@ -295,64 +295,63 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs - omds3Services.wsdl wsdl_binding.xml - org.apache.cxf - cxf-codegen-plugin - - -Djavax.xml.accessExternalSchema=all - - - - generate-sources - generate-sources - - ${target.generation.path} - - - ${wsdl.location} - true + org.apache.cxf + cxf-codegen-plugin + + -Djavax.xml.accessExternalSchema=all + + + + generate-sources + generate-sources + + ${target.generation.path} + + + ${wsdl.location} + true - - - ${bindings.location}/omds20Types_binding.xml - ${bindings.location}/omdsServiceTypes_binding.xml - ${bindings.location}/omdsCommonServiceTypes_binding.xml - ${bindings.location}/omds3_ON1_Basisfunktionen_binding.xml - ${bindings.location}/omds3_ON2_Antrag_Common_binding.xml - ${bindings.location}/omds3_ON2_Antrag_Kfz_binding.xml - ${bindings.location}/omds3_ON2_Antrag_SachPrivat_binding.xml - ${bindings.location}/omds3_ON2_Antrag_Unfall_binding.xml - ${bindings.location}/omds3_ON2_Antrag_Leben_binding.xml - ${bindings.location}/omds3_ON7_Schaden_binding.xml - ${bindings.location}/${wsdl.binding.xml} - + + + ${bindings.location}/omds20Types_binding.xml + ${bindings.location}/omdsServiceTypes_binding.xml + ${bindings.location}/omdsCommonServiceTypes_binding.xml + ${bindings.location}/omds3_ON1_Basisfunktionen_binding.xml + ${bindings.location}/omds3_ON2_Antrag_Common_binding.xml + ${bindings.location}/omds3_ON2_Antrag_Kfz_binding.xml + ${bindings.location}/omds3_ON2_Antrag_SachPrivat_binding.xml + ${bindings.location}/omds3_ON2_Antrag_Unfall_binding.xml + ${bindings.location}/omds3_ON2_Antrag_Leben_binding.xml + ${bindings.location}/omds3_ON7_Schaden_binding.xml + ${bindings.location}/${wsdl.binding.xml} + - - - - -impl - -validate - -client - -verbose - - - - - - wsdl2java - - - - - - - + + + + -impl + -validate + -client + -verbose + + + + + + wsdl2java + + + + + + + genJavaFromWsdl_Broker diff --git a/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezAntragType.java b/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezAntragType.java index f5feae76..581be370 100644 --- a/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezAntragType.java +++ b/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezAntragType.java @@ -11,6 +11,7 @@ import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; import at.vvo.omds.types.omds3Types.r1_8_0.common.AbgelehnteRisikenType; import at.vvo.omds.types.omds3Types.r1_8_0.common.AntragsartType; +import at.vvo.omds.types.omds3Types.r1_8_0.common.BeteiligtePersonVertragType; import at.vvo.omds.types.omds3Types.r1_8_0.common.DatenverwendungType; import at.vvo.omds.types.omds3Types.r1_8_0.common.EinwilligungType; import at.vvo.omds.types.omds3Types.r1_8_0.common.ErsatzpolizzenType; @@ -35,9 +36,11 @@ import at.vvo.omds.types.omds3Types.r1_8_0.on2antrag.unfall.SpezAntragUnfallType *
  * <complexType name="SpezAntrag_Type">
  *   <complexContent>
- *     <extension base="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common}SpezOffert_Type">
+ *     <extension base="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common}SpezBOASchritt_Type">
  *       <sequence>
  *         <element name="Antragsart" type="{urn:omds3CommonServiceTypes-1-1-0}Antragsart_Type" minOccurs="0"/>
+ *         <element name="Personen" type="{urn:omds3CommonServiceTypes-1-1-0}BeteiligtePersonVertrag_Type" maxOccurs="unbounded"/>
+ *         <element name="Versicherungsnehmer" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
  *         <element name="AbweichenderPraemienzahler" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" minOccurs="0"/>
  *         <element name="WeitereVersicherungsnehmer" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" maxOccurs="unbounded" minOccurs="0"/>
  *         <element name="WeitereVertragspersonen" type="{urn:omds3CommonServiceTypes-1-1-0}Vertragsperson_Type" maxOccurs="unbounded" minOccurs="0"/>
@@ -64,6 +67,8 @@ import at.vvo.omds.types.omds3Types.r1_8_0.on2antrag.unfall.SpezAntragUnfallType
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "SpezAntrag_Type", propOrder = {
     "antragsart",
+    "personen",
+    "versicherungsnehmer",
     "abweichenderPraemienzahler",
     "weitereVersicherungsnehmer",
     "weitereVertragspersonen",
@@ -81,18 +86,23 @@ import at.vvo.omds.types.omds3Types.r1_8_0.on2antrag.unfall.SpezAntragUnfallType
     "einwilligungen"
 })
 @XmlSeeAlso({
-    SpezAntragUnfallType.class,
     AntragSachPrivatType.class,
     SpezAntragPersonenType.class,
+    SpezAntragUnfallType.class,
     SpezAntragKfzType.class
 })
 public abstract class SpezAntragType
-    extends SpezOffertType
+    extends SpezBOASchrittType
 {
 
     @XmlElement(name = "Antragsart")
     @XmlSchemaType(name = "string")
     protected AntragsartType antragsart;
+    @XmlElement(name = "Personen", required = true)
+    protected List personen;
+    @XmlElement(name = "Versicherungsnehmer")
+    @XmlSchemaType(name = "unsignedShort")
+    protected int versicherungsnehmer;
     @XmlElement(name = "AbweichenderPraemienzahler")
     @XmlSchemaType(name = "unsignedShort")
     protected Integer abweichenderPraemienzahler;
@@ -152,6 +162,51 @@ public abstract class SpezAntragType
         this.antragsart = value;
     }
 
+    /**
+     * Gets the value of the personen property.
+     * 
+     * 

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the personen property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getPersonen().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link BeteiligtePersonVertragType } + * + * + */ + public List getPersonen() { + if (personen == null) { + personen = new ArrayList(); + } + return this.personen; + } + + /** + * Ruft den Wert der versicherungsnehmer-Eigenschaft ab. + * + */ + public int getVersicherungsnehmer() { + return versicherungsnehmer; + } + + /** + * Legt den Wert der versicherungsnehmer-Eigenschaft fest. + * + */ + public void setVersicherungsnehmer(int value) { + this.versicherungsnehmer = value; + } + /** * Ruft den Wert der abweichenderPraemienzahler-Eigenschaft ab. * diff --git a/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezBOASchrittType.java b/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezBOASchrittType.java index 6be0ba21..8abd0a74 100644 --- a/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezBOASchrittType.java +++ b/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezBOASchrittType.java @@ -29,7 +29,8 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "SpezBOASchritt_Type") @XmlSeeAlso({ SpezBerechnungType.class, - SpezOffertType.class + SpezOffertType.class, + SpezAntragType.class }) public class SpezBOASchrittType { diff --git a/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezBerechnungType.java b/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezBerechnungType.java index d7370368..8a78f375 100644 --- a/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezBerechnungType.java +++ b/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezBerechnungType.java @@ -41,9 +41,9 @@ import at.vvo.omds.types.omds3Types.r1_8_0.on2antrag.unfall.SpezBerechnungUnfall "personen" }) @XmlSeeAlso({ - SpezBerechnungUnfallType.class, - SpezBerechnungLebenType.class, BerechnungSachPrivatType.class, + SpezBerechnungLebenType.class, + SpezBerechnungUnfallType.class, SpezBerechnungKfzType.class }) public abstract class SpezBerechnungType diff --git a/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezOffertType.java b/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezOffertType.java index e1f6664e..d6a74ded 100644 --- a/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezOffertType.java +++ b/OMDSServiceDefinition/src/main/java/at/vvo/omds/types/omds3Types/r1_8_0/on2antrag/common/SpezOffertType.java @@ -47,11 +47,10 @@ import at.vvo.omds.types.omds3Types.r1_8_0.on2antrag.unfall.SpezOffertUnfallType "versicherungsnehmer" }) @XmlSeeAlso({ - SpezOffertUnfallType.class, - SpezOffertLebenType.class, OffertSachPrivatType.class, - SpezOffertKfzType.class, - SpezAntragType.class + SpezOffertLebenType.class, + SpezOffertUnfallType.class, + SpezOffertKfzType.class }) public abstract class SpezOffertType extends SpezBOASchrittType diff --git a/OMDSServiceDefinition/src/main/resources/Backlog.txt b/OMDSServiceDefinition/src/main/resources/Backlog.txt index 3ba1872f..ab858c12 100644 --- a/OMDSServiceDefinition/src/main/resources/Backlog.txt +++ b/OMDSServiceDefinition/src/main/resources/Backlog.txt @@ -79,3 +79,6 @@ in einem Antrag nicht unbedingt eine Id bei der VU haben. Vorversicherungen sind aus Rücksichtnahme auf den Bestand in Kfz unnötig kompliziert geworden, sollte vereinfacht werden. +16. +Die Spez-Objekte der Schritte im Antragsprozess sollten voneinander abgeleitet werden. + diff --git a/OMDSServiceDefinition/src/main/resources/def/r1_8_0/ReadMe.txt b/OMDSServiceDefinition/src/main/resources/def/r1_8_0/ReadMe.txt index 5509e087..ff1fab59 100644 --- a/OMDSServiceDefinition/src/main/resources/def/r1_8_0/ReadMe.txt +++ b/OMDSServiceDefinition/src/main/resources/def/r1_8_0/ReadMe.txt @@ -11,4 +11,4 @@ OMDS 3 Version 1.6.0 - Jul. 2021 - Service-Release: Verwendung OMDS 2.14 (SNAPSH OMDS 3 Version 1.7.0 - Jän. 2022 - Neue Sparten: Berechnung-Offert-Antrag Unfall, Leben, Verwendung OMDS 2.14.0, Handling von Dokumenten im Prozess, Konvertierung-Fahrzeugwechsel-Wechselkennzeichen. OMDS 3 Version 1.8.0 - Aug. 2022 - Service-Release: Deckungsprüfung, Belegeinreichung, Veröffentlichungsprozess, - Legitimation, Haftpflicht optional in Kfz \ No newline at end of file + Legitimation, Haftpflicht optional in Kfz diff --git a/OMDSServiceDefinition/src/main/resources/def/r1_8_0/ReleaseNotes-1-8-0.txt b/OMDSServiceDefinition/src/main/resources/def/r1_8_0/ReleaseNotes-1-8-0.txt index adc11558..83f353f9 100644 --- a/OMDSServiceDefinition/src/main/resources/def/r1_8_0/ReleaseNotes-1-8-0.txt +++ b/OMDSServiceDefinition/src/main/resources/def/r1_8_0/ReleaseNotes-1-8-0.txt @@ -2,7 +2,7 @@ Version 1.8.0 ============= -Was ist neu oder anders in Version 1.8.0 im Vergleich zur Version 1.7.0? +Was ist neu oder anders in Version 1.8.0 (Hotfix 1) im Vergleich zur Version 1.7.0? ===================================================================================== 1. Version 1.8.0 ist abwärtskompatibel zur Version 1.7.0 in dem Sinne, dass ein XML welches unter 1.7.0 valide ist auch unter 1.8.0 valide ist. Generierte Objekte können abweichen und neue Elemente können im XML enthalten sein. diff --git a/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3_ON2_Antrag_Common.xsd b/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3_ON2_Antrag_Common.xsd index a84ba090..de23d281 100644 --- a/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3_ON2_Antrag_Common.xsd +++ b/OMDSServiceDefinition/src/main/resources/def/r1_8_0/omds3_ON2_Antrag_Common.xsd @@ -52,13 +52,23 @@ Abstrakter Basistyp für Antrag, der bei Request und bei Response gleich ist - + Die Antragsart kann auch vom ServiceProvider automatisch bestimmt werden, dann bleibt sie im Request leer. + + + Liste aller benötigten Personen, welche dann über ihre Rolle referenziert werden. Die Personen können eine Adresse enthalten. + + + + + Referenz auf die Person, die als Versicherungsnehmer fungiert. + + Referenz auf einen abweichenden Praemienzahler, wenn nicht der Versicherungsnehmer die Prämie zahlt