The notifyMessageDeliveryReceipt method must be implemented
by a Web Service at the application side if it requires notification of
message delivery receipt. It will be invoked by the Parlay X server
to notify the application when a message sent by an application has
been delivered to the terminal of the recipient or if delivery is
impossible. The notification will occur if and only if the status of
the sent message is DeliveredToTerminal or DeliveryImpossible and
the application has specified interest in notification when sending
a message by specifying the optional receiptRequest parameter. The
correlator returned corresponds to the identifier specified by the
application in the receiptRequest of the original sendMessage
request
When a message is sent to multiple addresses, the notification
from the server will send notification for each terminal as and when
a message is delivered to a terminal.
The following three different message delivery status will be
returned in NotifyMessageDeliveryReceiptResponse:
- 'DeliveryImpossible': unsuccessful delivery; the message
could not be delivered before it expired.
- 'DeliveredToTerminal': when message has been successfully
delivered to the terminal.
- DeliveredNotificationNotSupported - If notification is
supported by the network but it does not support delivery
receipt for one or more addresses specified in the sendMessage
message. The service will send this status for those
addresses.