The servlet calls the receiveNotificiation method of the PapService implementation returned by the
getPapService method. The default implementation provided of the PapService (i.e.
PapServiceImpl) unmarshals the result notification message and calls the onNotification method to
hand over the ResultNotification object for further processing. The servlet sends a response to the PPG to confirm
acceptance of the result notification.

In order to perform custom actions on result notifications, extend this servlet and implement the getPapService
method such that it returns a PapService which implements onNotification. The servlet must then be
deployed in a servlet container and be reachable at the result notification URL provided in a push request.

It is recommended that the implementation of PapService returned by getPapService extend the provided
PapServiceImpl default implementation and simply implement the onNotification method.

doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Accepts a result notification from the body of the request, converts it to a PAP XML and makes the PAP XML response call to
the Push Proxy Gateway (PPG).

BasicNotificationServlet

getPapService

In order to perform custom actions on result notifications, implement the getPapService method such that it
returns a PapService which implements onNotification. It is recommended that the
PapServiceImpl class simply be extended and the onNotification method be implemented.