callback handling for incoming events from webservice