diff options
author | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-10-07 13:52:43 +0200 |
---|---|---|
committer | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-10-07 13:52:43 +0200 |
commit | ee244162599b676d17d1974101ded38f74ea2898 (patch) | |
tree | 989b1c9a981fae4d7d2daec940583db79d8d9d50 /src/main/resources/mzs | |
parent | fdb4a2ad85f94edb406ab993ca76230050b4c769 (diff) | |
download | moa-zs-ee244162599b676d17d1974101ded38f74ea2898.tar.gz moa-zs-ee244162599b676d17d1974101ded38f74ea2898.tar.bz2 moa-zs-ee244162599b676d17d1974101ded38f74ea2898.zip |
Fixes in app2mzs Schema and Code
app2mzs Schema Changes:
- mzs:MessageType/ZSDeliveryID was mandatory. However, in certain
cases the ZSDeliveryID does not exist (Example: perform
QueryPersonRequest, request fails > no ZSDeliveryID). This element
is now optional.
- mzs:Error/Code was of type xs:integer, is now xs:string. Reason:
msg:Code is also of type string.
Incorporate app2mzs schema changes into code base.
Diffstat (limited to 'src/main/resources/mzs')
-rw-r--r-- | src/main/resources/mzs/app2mzs.xsd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/mzs/app2mzs.xsd b/src/main/resources/mzs/app2mzs.xsd index c188faa..6a4ffda 100644 --- a/src/main/resources/mzs/app2mzs.xsd +++ b/src/main/resources/mzs/app2mzs.xsd @@ -238,7 +238,7 @@ <xs:complexContent> <xs:extension base="MessageType"> <xs:sequence> - <xs:element name="Code" type="xs:integer"/> + <xs:element name="Code" type="xs:string"/> <xs:element name="Text" type="xs:string"/> <xs:element ref="msg:PreAdviceNoteSent" minOccurs="0"/> </xs:sequence> @@ -252,7 +252,7 @@ <xs:sequence> <xs:element ref="AppDeliveryID"/> <xs:element ref="msg:DeliverySystem"/> - <xs:element ref="msg:ZSDeliveryID" /> + <xs:element ref="msg:ZSDeliveryID" minOccurs="0" /> <xs:element ref="msg:GZ" minOccurs="0"/> <xs:element ref="msg:RelayedViaERV" minOccurs="0"/> <xs:element name="SignedDeliveryRequestStatus" type="xs:base64Binary" minOccurs="0"/> |