1 User web services specification
2 ===============================
4 Source: Provozní řád ISDS, version 2008-30-06, Pages 12–13
5 Source: Webové služby ISDS pro manipulaci s datovými zprávami,
7 Source: Webové služby ISDS pro vyhledávání datových schránek,
12 These services are intended for working with messages inside a box by
15 SOAP web services defined in: dm_operations.wsdl, dm_info.wsdl, db_search.wsdl
16 (Appendix 2 of Provozní řád ISDS)
18 Data types: dmBaseTypes.xsd (Appendix 1)
20 Documentation: DataMessage_ws.pdf, DBSeatch_ws.pdf (Appendix 2)
22 List of SOAP requests follows. Those marked with asterisk DOES NOT MARK
23 incoming messages as delivered.
30 Constraints: Client must be autenticated in Access Manager
33 Create and send a message
35 Download incoming message
37 Download incoming message with digital signature of ministery of interiors
38 SignedSentMessageDownload
39 Download outgoing message with digital signature of ministery of interiors
41 Void operation used to log in and to keep connection alive
48 Constraints: Client must be autenticated in Access Manager
51 Verify local copy of message with remote original stored in ISDS
52 MessageEnvelopeDownload
53 Download envelope of incoming message
54 MarkMessageAsDownloaded
57 Dowload infosheet about message post and delivery
59 Dowload infosheet about message post and delivery with signature of
60 ministery of interiors
61 GetListOfRecievedMessages
62 Download list of incoming messages
64 Download list of outgoing messages
73 Find boxes conforming to serch criteria
75 Return state of given box
81 Create and send a message.
83 Envelope of outgoing message must contain dbIDRecipient and dmAnnotation.
84 Other elements are optional (dmRecipientOrgUnit, dmRecipientOrgUnitNum,
85 dmSenderOrgUnit, dmSenderOrgUnitNum, dmToHands, dmPersonalDelivery,
86 dmAllowSubstDelivery, dmRecipientRefNumber, dmRecipientIdent,
87 dmSenderRefNumber, dmSenderIdent, dmLegalTitleLaw, dmLegalTitleYear,
88 dmLegalTitleSect, dmLegalTitlePar, dmLegalTitlePoint, dmOVM).
90 Constraints: Sender must have PRIVIL_CREATE_DM permission.
91 Constraints: Exactly one document in message must be main type.
92 Constraints: Total size of all documents must not be bigger than 10 MB.
94 Identifier of just sent message assigned by system is returned.
97 0000 Message sent successfully
98 Non-normative error codes:
99 1214 Document desciption is not a filename with acceptable file name
101 1214 Document description extension does not match document content
102 1214 Provided MIME type does not match document
103 2010 First document structure invalid
104 2032 Message does not carry any document
105 9005 Message not valid (probably)
107 In case of positive virus detection (processed after sending), infected
108 document is removed, message state is set to value 3 (from point of view of
109 recipient) and sender get new message originated by server.
115 Retrieve incoming message identified by message ID.
118 0000 Message sent successfully
119 Non-normative error codes:
120 1219 Message with ID does not exist in ISDS in current box.
123 SignedMessageDownload
124 =====================
126 Download incoming message with digital signature of ministery of interiors
127 identified by message ID.
129 Return PKCS#7 structure containing data as defined in MessageDownload and
130 digital signature of the message by ministery.
132 The data are XML document with mangled ISDS name space:
133 http://isds.czechpoint.cz/v20/ vs. http://isds.czechpoint.cz/v20/message:
135 <q:MessageDownloadResponse
136 xmlns:q="http://isds.czechpoint.cz/v20/message">
137 <q:dmReturnedMessage>
138 <p:dmDm xmlns:p="http://isds.czechpoint.cz/v20">
139 <p:dmID>151916</p:dmID>
142 <q:dmHash algorithm="SHA-1">...</q:dmHash>
144 <q:dmAttachmentSize>260</q:dmAttachmentSize>
145 </q:dmReturnedMessage>
146 </q:MessageDownloadResponse>
149 SignedSentMessageDownload
150 =========================
152 Download outgoing message with digital signature of ministery of interiors
155 Return PKCS#7 structure containing data as defined in MessageDownload and
156 digital signature of the message by ministery.
158 The data are XML document with mangled ISDS name space:
159 http://isds.czechpoint.cz/v20/ vs. http://isds.czechpoint.cz/v20/SentMessage:
161 <q:MessageDownloadResponse
162 xmlns:q="http://isds.czechpoint.cz/v20/SentMessage">
163 <q:dmReturnedMessage>
164 <p:dmDm xmlns:p="http://isds.czechpoint.cz/v20">
165 <p:dmID>151916</p:dmID>
168 <q:dmHash algorithm="SHA-1">...</q:dmHash>
170 <q:dmAttachmentSize>260</q:dmAttachmentSize>
171 </q:dmReturnedMessage>
172 </q:MessageDownloadResponse>
175 GetListOfRecievedMessages
176 =========================
178 Download list of incoming messages matching search criteria.
180 See GetListOfSentMessages for more details.
183 GetListOfSentMessages
184 =====================
186 Download list of outgoing messages matching search criteria.
188 Non-normative error codes:
189 2017 Syntax error in date-time
195 Retrieve message hash (dmHash element) for given message from ISDS.
197 Works for not yet deleted messages only.
199 Only SHA-1 algorithm is in use currently. SHA-2 family is expected after
202 Hash input is isds:dmDM subtree procesed as raw bit stream without XML
203 canonicalization. Authoritative isds:dmDM element can be get via
204 MessageDownload service. God bless ISDS developers not change XML
207 Non-normative error codes:
208 1219 Message with ID does not exist in ISDS.
211 MessageEnvelopeDownload
212 =======================
214 Download envelope of incoming message. That is message without documents.
216 Returend hash and timestamp are computed from whole message. You must get
217 complete message inluding documents to be able to verify them.
220 MarkMessageAsDownloaded
221 =======================
223 Change status of a message identidied by its ID as read.
225 That means next GetListOfRecievedMessages service can exclude such message if
226 only unread messages requested.
232 Find boxes conforming to serch criteria or exact ID and returns corresponding
233 (possibly truncated) list of boxes.
235 Returned boxes exist, but it does not mean they can recieve messages. Use
236 CheckDataBox to figure out.
238 If dbID filled in request, search only to exact box.
239 If identifier and registryCode filled, search only to exact box.
240 Otherwise search against other criteria.
242 Returns list of boxes (possibly empty).
245 0002 No box suits to search request (by other criteria)
246 0003 To much boxes suit to search request (by other criteria),
247 response truncated. Returned list of boxes is still valid.
248 5001 No such box exists (by box ID or registry identifier)
249 Non-normative error codes:
250 1101 Box type (dbType) must be specified
251 2017 Syntax error in date (biDate)
257 Return state of one box identified by dbID.
259 State of the box is stored in dbStatus element:
260 0 or empty Error occurred
262 2 Temporarily unaccesible
264 4 Permanently unaccesible
265 5 Box has been removed
267 Only state 1 means box is capable of receiving messages.
270 5001 Box does not exist
272 2011 Box ID malformed