diff options
-rw-r--r-- | src/main/resources/mzs/mzs_mypersondata_en.xsd | 18 | ||||
-rw-r--r-- | src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/validDeliveryRequest.soap | 4 |
2 files changed, 4 insertions, 18 deletions
diff --git a/src/main/resources/mzs/mzs_mypersondata_en.xsd b/src/main/resources/mzs/mzs_mypersondata_en.xsd index 756669f..ac07ddb 100644 --- a/src/main/resources/mzs/mzs_mypersondata_en.xsd +++ b/src/main/resources/mzs/mzs_mypersondata_en.xsd @@ -17,7 +17,6 @@ <!-- ### physical person and corporate body ### --> <xs:element name="PhysicalPerson" type="PhysicalPersonType" substitutionGroup="Person" /> <xs:element name="CorporateBody" type="CorporateBodyType" substitutionGroup="Person" /> - <xs:element name="Authority" type="AuthorityType" substitutionGroup="Person" /> <xs:element name="Name" type="PersonNameType"> <xs:annotation> <xs:documentation>data related to the person's name</xs:documentation> @@ -108,7 +107,7 @@ <xs:extension base="AbstractPersonType"> <xs:sequence> <xs:element ref="Name"/> - <xs:element ref="DateOfBirth"/> + <xs:element ref="DateOfBirth" minOccurs="0"/> </xs:sequence> </xs:extension> </xs:complexContent> @@ -169,20 +168,6 @@ </xs:element> </xs:sequence> </xs:complexType> - <xs:complexType name="AuthorityType"> - <xs:annotation> - <xs:documentation>public authority</xs:documentation> - </xs:annotation> - <xs:complexContent> - <xs:extension base="AbstractPersonType"> - <xs:sequence> - <xs:element ref="FullName"/> - <xs:element ref="Organization" minOccurs="0"/> - <xs:element ref="Target" minOccurs="0"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> <xs:element name="FullName" type="xs:token"> <xs:annotation> <xs:documentation>name of corporate body (whole name), compare VollerName</xs:documentation> @@ -215,6 +200,7 @@ <xs:documentation>part of an organisation, see also X.500 ou (eg departement, section, branch, ...) , compare Organisation</xs:documentation> </xs:annotation> </xs:element> + <xs:element ref="Target" minOccurs="0"/> </xs:sequence> </xs:extension> </xs:complexContent> diff --git a/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/validDeliveryRequest.soap b/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/validDeliveryRequest.soap index 91c0d61..5254540 100644 --- a/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/validDeliveryRequest.soap +++ b/src/test/resources/at/gv/egiz/moazs/App2MzsServiceTest/validDeliveryRequest.soap @@ -9,9 +9,9 @@ <soapenv:Body> <mzs:DeliveryRequest> <mzs:Sender> - <p:Authority> + <p:CorporateBody> <p:FullName>Bundesministerium für Testzwecke</p:FullName> - </p:Authority> + </p:CorporateBody> <mzs:WebserviceURL>https://authority.gv.at/delivery_notification</mzs:WebserviceURL> </mzs:Sender> <mzs:Receiver> |