1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.ken.api.service;
17
18 import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
19 import org.kuali.rice.ken.api.KenApiConstants;
20 import org.kuali.rice.ken.api.notification.Notification;
21 import org.kuali.rice.ken.api.notification.NotificationResponse;
22
23 import javax.jws.WebMethod;
24 import javax.jws.WebParam;
25 import javax.jws.WebResult;
26 import javax.jws.WebService;
27 import javax.jws.soap.SOAPBinding;
28
29
30
31
32 @WebService(name= KenApiConstants.ServiceNames.SEND_NOTIFICATION_SERVICE, targetNamespace = KenApiConstants.Namespaces.KEN_NAMESPACE_2_0)
33 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE)
34 public interface SendNotificationService {
35
36
37
38
39
40
41 @WebMethod(operationName = "invoke")
42 @WebResult(name = "response")
43 NotificationResponse invoke(@WebParam(name = "message") String message) throws RiceIllegalArgumentException;
44
45
46
47
48
49
50
51 @WebMethod(operationName = "sendNotification")
52 @WebResult(name = "response")
53 NotificationResponse sendNotification(Notification notification);
54 }