BOA-Plus Beispiel für Vertragsdatenabholungs-Service in Kfz

This commit is contained in:
2020-10-05 16:32:23 +02:00
parent f430fc4562
commit e5ab8f76b1
14 changed files with 890 additions and 14 deletions

View File

@@ -9,6 +9,7 @@ import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.CalculateRequestType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.CreateApplicationRequestType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.CreateOfferRequestType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.FetchPolicyRequestType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.SubmitApplicationRequestType;
@@ -38,6 +39,7 @@ import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.SubmitApplicationReq
"geschaeftsfallnummer"
})
@XmlSeeAlso({
FetchPolicyRequestType.class,
CalculateRequestType.class,
CreateOfferRequestType.class,
CreateApplicationRequestType.class,

View File

@@ -9,6 +9,7 @@ import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.CalculateResponseType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.CreateApplicationResponseType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.CreateOfferResponseType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.FetchPolicyResponseType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.SubmitApplicationResponseType;
@@ -41,7 +42,8 @@ import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.SubmitApplicationRes
CalculateResponseType.class,
CreateOfferResponseType.class,
CreateApplicationResponseType.class,
SubmitApplicationResponseType.class
SubmitApplicationResponseType.class,
FetchPolicyResponseType.class
})
public abstract class CommonProcessResponseType
extends CommonResponseType

View File

@@ -69,14 +69,6 @@ public class ObjectFactory {
return new PersonType();
}
/**
* Create an instance of {@link ServiceFault }
*
*/
public ServiceFault createServiceFault() {
return new ServiceFault();
}
/**
* Create an instance of {@link ObjektIdType }
*
@@ -85,6 +77,14 @@ public class ObjectFactory {
return new ObjektIdType();
}
/**
* Create an instance of {@link ServiceFault }
*
*/
public ServiceFault createServiceFault() {
return new ServiceFault();
}
/**
* Create an instance of {@link AdresseType }
*

View File

@@ -0,0 +1,97 @@
package at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds3Types.r1_6_0.common.CommonProcessRequestType;
/**
* Abstrakter Request um Daten eines Vertrags anzufordern
*
* <p>Java-Klasse für FetchPolicyRequest_Type complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="FetchPolicyRequest_Type"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{urn:omds3CommonServiceTypes-1-1-0}CommonProcessRequest_Type"&gt;
* &lt;sequence&gt;
* &lt;choice&gt;
* &lt;element name="Polizzennr" type="{urn:omds20}Polizzennr"/&gt;
* &lt;element name="VertragsID" type="{urn:omds20}VertragsID"/&gt;
* &lt;/choice&gt;
* &lt;/sequence&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FetchPolicyRequest_Type", propOrder = {
"polizzennr",
"vertragsID"
})
public abstract class FetchPolicyRequestType
extends CommonProcessRequestType
{
@XmlElement(name = "Polizzennr", defaultValue = "false")
protected String polizzennr;
@XmlElement(name = "VertragsID")
protected String vertragsID;
/**
* Ruft den Wert der polizzennr-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPolizzennr() {
return polizzennr;
}
/**
* Legt den Wert der polizzennr-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPolizzennr(String value) {
this.polizzennr = value;
}
/**
* Ruft den Wert der vertragsID-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVertragsID() {
return vertragsID;
}
/**
* Legt den Wert der vertragsID-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVertragsID(String value) {
this.vertragsID = value;
}
}

View File

@@ -0,0 +1,40 @@
package at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds3Types.r1_6_0.common.CommonProcessResponseType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.kfz.FetchPolicyKfzResponse;
/**
* Abstrakter Response, der Daten zu einem Vertrag enthält
*
* <p>Java-Klasse für FetchPolicyResponse_Type complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="FetchPolicyResponse_Type"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{urn:omds3CommonServiceTypes-1-1-0}CommonProcessResponse_Type"&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FetchPolicyResponse_Type")
@XmlSeeAlso({
FetchPolicyKfzResponse.class
})
public abstract class FetchPolicyResponseType
extends CommonProcessResponseType
{
}

View File

@@ -0,0 +1,321 @@
package at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds3Types.r1_6_0.common.BeteiligtePersonVertragType;
import at.vvo.omds.types.omds3Types.r1_6_0.common.KontierungType;
import at.vvo.omds.types.omds3Types.r1_6_0.common.VertragspersonType;
import at.vvo.omds.types.omds3Types.r1_6_0.common.ZahlungsdatenType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.kfz.SpezVertragKfzType;
/**
* Abstrakter Basistyp für Vertrag
*
* <p>Java-Klasse für SpezVertrag_Type complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="SpezVertrag_Type"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;sequence&gt;
* &lt;element name="Personen" type="{urn:omds3CommonServiceTypes-1-1-0}BeteiligtePersonVertrag_Type" maxOccurs="unbounded"/&gt;
* &lt;element name="Versicherungsnehmer" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/&gt;
* &lt;element name="AbweichenderPraemienzahler" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" minOccurs="0"/&gt;
* &lt;element name="WeitereVersicherungsnehmer" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="WeitereVertragspersonen" type="{urn:omds3CommonServiceTypes-1-1-0}Vertragsperson_Type" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;element name="Zahlungsdaten" type="{urn:omds3CommonServiceTypes-1-1-0}Zahlungsdaten_Type"/&gt;
* &lt;element name="Sepa" type="{urn:omds3CommonServiceTypes-1-1-0}SepaCd_Type" minOccurs="0"/&gt;
* &lt;element name="Kontierung" type="{urn:omds3CommonServiceTypes-1-1-0}Kontierung_Type" maxOccurs="3" minOccurs="0"/&gt;
* &lt;element name="ZusaetzlicheVertragsdaten" type="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common}ZusaetzlicheVertragsdaten_Type" maxOccurs="unbounded" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SpezVertrag_Type", propOrder = {
"personen",
"versicherungsnehmer",
"abweichenderPraemienzahler",
"weitereVersicherungsnehmer",
"weitereVertragspersonen",
"zahlungsdaten",
"sepa",
"kontierung",
"zusaetzlicheVertragsdaten"
})
@XmlSeeAlso({
SpezVertragKfzType.class
})
public abstract class SpezVertragType {
@XmlElement(name = "Personen", required = true)
protected List<BeteiligtePersonVertragType> personen;
@XmlElement(name = "Versicherungsnehmer")
@XmlSchemaType(name = "unsignedShort")
protected int versicherungsnehmer;
@XmlElement(name = "AbweichenderPraemienzahler")
@XmlSchemaType(name = "unsignedShort")
protected Integer abweichenderPraemienzahler;
@XmlElement(name = "WeitereVersicherungsnehmer", type = Integer.class)
@XmlSchemaType(name = "unsignedShort")
protected List<Integer> weitereVersicherungsnehmer;
@XmlElement(name = "WeitereVertragspersonen")
protected List<VertragspersonType> weitereVertragspersonen;
@XmlElement(name = "Zahlungsdaten", required = true)
protected ZahlungsdatenType zahlungsdaten;
@XmlElement(name = "Sepa")
@XmlSchemaType(name = "unsignedByte")
protected Short sepa;
@XmlElement(name = "Kontierung")
protected List<KontierungType> kontierung;
@XmlElement(name = "ZusaetzlicheVertragsdaten")
protected List<ZusaetzlicheVertragsdatenType> zusaetzlicheVertragsdaten;
/**
* Gets the value of the personen property.
*
* <p>
* 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 <CODE>set</CODE> method for the personen property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPersonen().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BeteiligtePersonVertragType }
*
*
*/
public List<BeteiligtePersonVertragType> getPersonen() {
if (personen == null) {
personen = new ArrayList<BeteiligtePersonVertragType>();
}
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.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getAbweichenderPraemienzahler() {
return abweichenderPraemienzahler;
}
/**
* Legt den Wert der abweichenderPraemienzahler-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setAbweichenderPraemienzahler(Integer value) {
this.abweichenderPraemienzahler = value;
}
/**
* Gets the value of the weitereVersicherungsnehmer property.
*
* <p>
* 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 <CODE>set</CODE> method for the weitereVersicherungsnehmer property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getWeitereVersicherungsnehmer().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Integer }
*
*
*/
public List<Integer> getWeitereVersicherungsnehmer() {
if (weitereVersicherungsnehmer == null) {
weitereVersicherungsnehmer = new ArrayList<Integer>();
}
return this.weitereVersicherungsnehmer;
}
/**
* Gets the value of the weitereVertragspersonen property.
*
* <p>
* 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 <CODE>set</CODE> method for the weitereVertragspersonen property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getWeitereVertragspersonen().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link VertragspersonType }
*
*
*/
public List<VertragspersonType> getWeitereVertragspersonen() {
if (weitereVertragspersonen == null) {
weitereVertragspersonen = new ArrayList<VertragspersonType>();
}
return this.weitereVertragspersonen;
}
/**
* Ruft den Wert der zahlungsdaten-Eigenschaft ab.
*
* @return
* possible object is
* {@link ZahlungsdatenType }
*
*/
public ZahlungsdatenType getZahlungsdaten() {
return zahlungsdaten;
}
/**
* Legt den Wert der zahlungsdaten-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link ZahlungsdatenType }
*
*/
public void setZahlungsdaten(ZahlungsdatenType value) {
this.zahlungsdaten = value;
}
/**
* Ruft den Wert der sepa-Eigenschaft ab.
*
* @return
* possible object is
* {@link Short }
*
*/
public Short getSepa() {
return sepa;
}
/**
* Legt den Wert der sepa-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link Short }
*
*/
public void setSepa(Short value) {
this.sepa = value;
}
/**
* Gets the value of the kontierung property.
*
* <p>
* 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 <CODE>set</CODE> method for the kontierung property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getKontierung().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link KontierungType }
*
*
*/
public List<KontierungType> getKontierung() {
if (kontierung == null) {
kontierung = new ArrayList<KontierungType>();
}
return this.kontierung;
}
/**
* Gets the value of the zusaetzlicheVertragsdaten property.
*
* <p>
* 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 <CODE>set</CODE> method for the zusaetzlicheVertragsdaten property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getZusaetzlicheVertragsdaten().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ZusaetzlicheVertragsdatenType }
*
*
*/
public List<ZusaetzlicheVertragsdatenType> getZusaetzlicheVertragsdaten() {
if (zusaetzlicheVertragsdaten == null) {
zusaetzlicheVertragsdaten = new ArrayList<ZusaetzlicheVertragsdatenType>();
}
return this.zusaetzlicheVertragsdaten;
}
}

View File

@@ -0,0 +1,32 @@
package at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Abstrakter Typ fuer die Erweiterung des Vertrags um Elemente, die nicht im Standard enthalten sind
*
* <p>Java-Klasse für ZusaetzlicheVertragsdaten_Type complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="ZusaetzlicheVertragsdaten_Type"&gt;
* &lt;complexContent&gt;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
* &lt;/restriction&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ZusaetzlicheVertragsdaten_Type")
public abstract class ZusaetzlicheVertragsdatenType {
}

View File

@@ -0,0 +1,67 @@
package at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.kfz;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.FetchPolicyResponseType;
/**
* <p>Java-Klasse für anonymous complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType&gt;
* &lt;complexContent&gt;
* &lt;extension base="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common}FetchPolicyResponse_Type"&gt;
* &lt;sequence&gt;
* &lt;element name="Vertrag" type="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.kfz}SpezVertragKfz_Type" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"vertrag"
})
@XmlRootElement(name = "FetchPolicyKfzResponse")
public class FetchPolicyKfzResponse
extends FetchPolicyResponseType
{
@XmlElement(name = "Vertrag")
protected SpezVertragKfzType vertrag;
/**
* Ruft den Wert der vertrag-Eigenschaft ab.
*
* @return
* possible object is
* {@link SpezVertragKfzType }
*
*/
public SpezVertragKfzType getVertrag() {
return vertrag;
}
/**
* Legt den Wert der vertrag-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link SpezVertragKfzType }
*
*/
public void setVertrag(SpezVertragKfzType value) {
this.vertrag = value;
}
}

View File

@@ -5,6 +5,7 @@ import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.FetchPolicyRequestType;
/**
@@ -24,6 +25,7 @@ import javax.xml.namespace.QName;
@XmlRegistry
public class ObjectFactory {
private final static QName _FetchPolicyKfzRequest_QNAME = new QName("urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.kfz", "FetchPolicyKfzRequest");
private final static QName _CalculateKfzRequest_QNAME = new QName("urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.kfz", "CalculateKfzRequest");
private final static QName _CalculateKfzResponse_QNAME = new QName("urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.kfz", "CalculateKfzResponse");
private final static QName _CreateOfferKfzRequest_QNAME = new QName("urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.kfz", "CreateOfferKfzRequest");
@@ -57,6 +59,22 @@ public class ObjectFactory {
return new CreateOfferKfzResponseType();
}
/**
* Create an instance of {@link FetchPolicyKfzResponse }
*
*/
public FetchPolicyKfzResponse createFetchPolicyKfzResponse() {
return new FetchPolicyKfzResponse();
}
/**
* Create an instance of {@link SpezVertragKfzType }
*
*/
public SpezVertragKfzType createSpezVertragKfzType() {
return new SpezVertragKfzType();
}
/**
* Create an instance of {@link CalculateKfzRequestType }
*
@@ -265,6 +283,15 @@ public class ObjectFactory {
return new CreateOfferKfzResponseType.Offertantwort();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link FetchPolicyRequestType }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.kfz", name = "FetchPolicyKfzRequest")
public JAXBElement<FetchPolicyRequestType> createFetchPolicyKfzRequest(FetchPolicyRequestType value) {
return new JAXBElement<FetchPolicyRequestType>(_FetchPolicyKfzRequest_QNAME, FetchPolicyRequestType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link CalculateKfzRequestType }{@code >}}
*

View File

@@ -0,0 +1,153 @@
package at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.kfz;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds3Types.r1_6_0.common.BonusMalusSystemType;
import at.vvo.omds.types.omds3Types.r1_6_0.common.VinkularglaeubigerType;
import at.vvo.omds.types.omds3Types.r1_6_0.on2antrag.common.SpezVertragType;
/**
* Typ der den Vertrag beschreibt
*
* <p>Java-Klasse für SpezVertragKfz_Type complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* &lt;complexType name="SpezVertragKfz_Type"&gt;
* &lt;complexContent&gt;
* &lt;extension base="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.common}SpezVertrag_Type"&gt;
* &lt;sequence&gt;
* &lt;element name="Verkaufsprodukt" type="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.kfz}VerkaufsproduktKfz_Type"/&gt;
* &lt;element name="BonusMalus" type="{urn:omds3CommonServiceTypes-1-1-0}BonusMalusSystem_Type" minOccurs="0"/&gt;
* &lt;element name="Vinkulierung" type="{urn:omds3CommonServiceTypes-1-1-0}Vinkularglaeubiger_Type" minOccurs="0"/&gt;
* &lt;element name="ZusaetzlicheKfzDaten" type="{urn:at.vvo.omds.types.omds3types.v1-3-0.on2antrag.kfz}ZusaetzlicheKfzdaten_Type" minOccurs="0"/&gt;
* &lt;/sequence&gt;
* &lt;/extension&gt;
* &lt;/complexContent&gt;
* &lt;/complexType&gt;
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SpezVertragKfz_Type", propOrder = {
"verkaufsprodukt",
"bonusMalus",
"vinkulierung",
"zusaetzlicheKfzDaten"
})
public class SpezVertragKfzType
extends SpezVertragType
{
@XmlElement(name = "Verkaufsprodukt", required = true)
protected VerkaufsproduktKfzType verkaufsprodukt;
@XmlElement(name = "BonusMalus")
protected BonusMalusSystemType bonusMalus;
@XmlElement(name = "Vinkulierung")
protected VinkularglaeubigerType vinkulierung;
@XmlElement(name = "ZusaetzlicheKfzDaten")
protected ZusaetzlicheKfzdatenType zusaetzlicheKfzDaten;
/**
* Ruft den Wert der verkaufsprodukt-Eigenschaft ab.
*
* @return
* possible object is
* {@link VerkaufsproduktKfzType }
*
*/
public VerkaufsproduktKfzType getVerkaufsprodukt() {
return verkaufsprodukt;
}
/**
* Legt den Wert der verkaufsprodukt-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link VerkaufsproduktKfzType }
*
*/
public void setVerkaufsprodukt(VerkaufsproduktKfzType value) {
this.verkaufsprodukt = value;
}
/**
* Ruft den Wert der bonusMalus-Eigenschaft ab.
*
* @return
* possible object is
* {@link BonusMalusSystemType }
*
*/
public BonusMalusSystemType getBonusMalus() {
return bonusMalus;
}
/**
* Legt den Wert der bonusMalus-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link BonusMalusSystemType }
*
*/
public void setBonusMalus(BonusMalusSystemType value) {
this.bonusMalus = value;
}
/**
* Ruft den Wert der vinkulierung-Eigenschaft ab.
*
* @return
* possible object is
* {@link VinkularglaeubigerType }
*
*/
public VinkularglaeubigerType getVinkulierung() {
return vinkulierung;
}
/**
* Legt den Wert der vinkulierung-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link VinkularglaeubigerType }
*
*/
public void setVinkulierung(VinkularglaeubigerType value) {
this.vinkulierung = value;
}
/**
* Ruft den Wert der zusaetzlicheKfzDaten-Eigenschaft ab.
*
* @return
* possible object is
* {@link ZusaetzlicheKfzdatenType }
*
*/
public ZusaetzlicheKfzdatenType getZusaetzlicheKfzDaten() {
return zusaetzlicheKfzDaten;
}
/**
* Legt den Wert der zusaetzlicheKfzDaten-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link ZusaetzlicheKfzdatenType }
*
*/
public void setZusaetzlicheKfzDaten(ZusaetzlicheKfzdatenType value) {
this.zusaetzlicheKfzDaten = value;
}
}

View File

@@ -13,10 +13,11 @@ import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.soap.MTOM;
/**
* This class was generated by Apache CXF 3.2.0
* 2020-09-24T16:22:57.026+02:00
* 2020-10-05T16:22:52.675+02:00
* Generated source version: 3.2.0
*
*/
@@ -27,7 +28,8 @@ import javax.xml.bind.annotation.XmlSeeAlso;
targetNamespace = "urn:omds3Services-1-4-0",
wsdlLocation = "file:/C:/Users/Jens/git/omdsservicedefinitions/OMDSServiceDefinition/src/main/resources/def/r1_6_0/omds3Services.wsdl",
endpointInterface = "at.vvo.omds.types.omds3Types.r1_6_0.service.OmdsServicePortType")
@MTOM(enabled = true, threshold = 1024)
public class OmdsServicePortImpl implements OmdsServicePortType {
private static final Logger LOG = Logger.getLogger(OmdsServicePortImpl.class.getName());

View File

@@ -16,10 +16,11 @@ import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.soap.MTOMFeature;
/**
* This class was generated by Apache CXF 3.2.0
* 2020-09-24T16:22:56.641+02:00
* 2020-10-05T16:22:52.578+02:00
* Generated source version: 3.2.0
*
*/
@@ -44,9 +45,11 @@ public final class OmdsServicePortType_OmdsServicePort_Client {
e.printStackTrace();
}
}
OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
OmdsServicePortType port = ss.getOmdsServicePort();
OmdsServicePortType port = ss.getOmdsServicePort(new MTOMFeature(1024));
// OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
// OmdsServicePortType port = ss.getOmdsServicePort();
{
System.out.println("Invoking calculateLeben...");

View File

@@ -157,7 +157,86 @@
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="SpezVertrag_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Abstrakter Basistyp für Vertrag</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Personen" type="cst:BeteiligtePersonVertrag_Type" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Liste aller benötigten Vertragspersonen (nicht versicherte Personen), welche dann über ihre Rolle referenziert werden. Die Personen können eine Adresse enthalten.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Versicherungsnehmer" type="xsd:unsignedShort">
<xsd:annotation>
<xsd:documentation>Referenz auf die Person, die als Versicherungsnehmer fungiert. </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="AbweichenderPraemienzahler" type="xsd:unsignedShort" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Referenz auf einen abweichenden Praemienzahler, wenn nicht der Verisicherungsnehmer die Prämie zahlt</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="WeitereVersicherungsnehmer" type="xsd:unsignedShort" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Referenz auf weitere Versicherungsnehmer</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="WeitereVertragspersonen" type="cst:Vertragsperson_Type" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Weitere Personen in Vertragsrollen</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Zahlungsdaten" type="cst:Zahlungsdaten_Type">
<xsd:annotation>
<xsd:documentation>Beschreibt die Art der Zahlung und enthält die zugehörigen Daten</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Sepa" type="cst:SepaCd_Type" minOccurs="0">
<xsd:annotation>
<xsd:documentation>SEPA-Mandat-Steuerung, wenn Zahlungsdaten ein SEPA-Mandat notwendig machen.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Kontierung" type="cst:Kontierung_Type" minOccurs="0" maxOccurs="3"/>
<xsd:element name="ZusaetzlicheVertragsdaten" type="ZusaetzlicheVertragsdaten_Type" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Moeglichkeit fuer die Erweitung des Standards um eigene Antragsdaten</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!--Abstrakte BOA-Operationstypen-->
<xsd:complexType name="FetchPolicyRequest_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Abstrakter Request um Daten eines Vertrags anzufordern</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="cst:CommonProcessRequest_Type">
<xsd:sequence>
<xsd:choice>
<xsd:element name="Polizzennr" type="omds:Polizzennr" default="false">
<xsd:annotation>
<xsd:documentation>Die Polizzennummer der gesuchten Polizze</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="VertragsID" type="omds:VertragsID">
<xsd:annotation>
<xsd:documentation>Die OMDS VertragsID der gesuchten Polizze</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FetchPolicyResponse_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Abstrakter Response, der Daten zu einem Vertrag enthält</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="cst:CommonProcessResponse_Type"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CalculateRequest_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Abstrakter Request für die Berechnung</xsd:documentation>
@@ -392,6 +471,11 @@
<xsd:documentation>Abstrakter Typ fuer die Erweiterung des Antrags um Elemente, die nicht im Standard enthalten sind</xsd:documentation>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="ZusaetzlicheVertragsdaten_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Abstrakter Typ fuer die Erweiterung des Vertrags um Elemente, die nicht im Standard enthalten sind</xsd:documentation>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="GetApplicationDocumentRequest_Type">
<xsd:annotation>
<xsd:documentation>Typ um Offert- und Antragsdokumente zu beziehen</xsd:documentation>

View File

@@ -253,6 +253,29 @@
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="SpezVertragKfz_Type">
<xsd:annotation>
<xsd:documentation>Typ der den Vertrag beschreibt</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="ac:SpezVertrag_Type">
<xsd:sequence>
<xsd:element name="Verkaufsprodukt" type="VerkaufsproduktKfz_Type"/>
<xsd:element name="BonusMalus" type="cst:BonusMalusSystem_Type" minOccurs="0">
<xsd:annotation>
<xsd:documentation>BonusMalus beim Verband</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Vinkulierung" type="cst:Vinkularglaeubiger_Type" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Vinkulierungsdaten</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ZusaetzlicheKfzDaten" type="ZusaetzlicheKfzdaten_Type" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="UpsellingKfzResponse_Type" abstract="true">
<xsd:annotation>
<xsd:documentation>Response Upselling Alternativen</xsd:documentation>
@@ -386,6 +409,29 @@
<xsd:annotation>
<xsd:documentation>Konkrete Services (Request- und Responseobjekte) Kfz</xsd:documentation>
</xsd:annotation>
<xsd:element name="FetchPolicyKfzRequest" type="ac:FetchPolicyRequest_Type">
<xsd:annotation>
<xsd:documentation>Requestobjekt um einen Vertrag zu laden</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FetchPolicyKfzResponse">
<xsd:annotation>
<xsd:documentation>Responseobjekt beim Laden eines Vertrags</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ac:FetchPolicyResponse_Type">
<xsd:sequence>
<xsd:element name="Vertrag" type="SpezVertragKfz_Type" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Hier werden die Daten des Vertrags zur Verfügung gestellt</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="CalculateKfzRequest" type="CalculateKfzRequest_Type">
<xsd:annotation>
<xsd:documentation>Requestobjekt für eine Kfz Berechnung</xsd:documentation>