Package org.kuali.rice.ken.api.service

Examples of org.kuali.rice.ken.api.service.SendNotificationService.invoke()


            MartinlawConstants.NotificationTemplatePlaceholders.CALENDAR_CHANNEL_NAME,
            MartinlawConstants.NotificationTemplatePlaceholders.CALENDAR_PRODUCER_NAME, message);
        // send notification
        final SendNotificationService sendNotificationService = (SendNotificationService) GlobalResourceLoader.getService(
            new QName(KenApiConstants.Namespaces.KEN_NAMESPACE_2_0, "sendNotificationService"));
        sendNotificationService.invoke(notificationXml);
      } catch (Exception e) {
        log.error("could not create or send matter event notification", e);
      }
    }
   
View Full Code Here


        try {
          TestUtils utils = new TestUtils();
          // send notification
          final SendNotificationService sendNotificationService = (SendNotificationService) GlobalResourceLoader.getService(
              new QName(KenApiConstants.Namespaces.KEN_NAMESPACE_2_0, "sendNotificationService"));
          NotificationResponse response = sendNotificationService.invoke(utils.getTestNotificationXml());
     
          assertEquals("response status is not success", NotificationConstants.RESPONSE_STATUSES.SUCCESS, response.getStatus());
        } catch (Exception e) {
          log.error("exception occured", e);
          fail("exception occured");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.