1
2 package org.oasis_open.docs.wsn.brw_2;
3
4 import javax.jws.Oneway;
5 import javax.jws.WebMethod;
6 import javax.jws.WebParam;
7 import javax.jws.WebResult;
8 import javax.jws.WebService;
9 import javax.jws.soap.SOAPBinding;
10 import javax.xml.bind.annotation.XmlSeeAlso;
11 import org.oasis_open.docs.wsn.b_2.GetCurrentMessage;
12 import org.oasis_open.docs.wsn.b_2.GetCurrentMessageResponse;
13 import org.oasis_open.docs.wsn.b_2.Notify;
14 import org.oasis_open.docs.wsn.b_2.Subscribe;
15 import org.oasis_open.docs.wsn.b_2.SubscribeResponse;
16 import org.oasis_open.docs.wsn.br_2.RegisterPublisher;
17 import org.oasis_open.docs.wsn.br_2.RegisterPublisherResponse;
18
19
20
21
22
23
24
25
26 @WebService(name = "NotificationBroker", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2")
27 @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
28 @XmlSeeAlso({
29 org.oasis_open.docs.wsn.b_2.ObjectFactory.class,
30 org.oasis_open.docs.wsn.t_1.ObjectFactory.class,
31 org.oasis_open.docs.wsrf.r_2.ObjectFactory.class,
32 org.oasis_open.docs.wsn.br_2.ObjectFactory.class,
33 org.oasis_open.docs.wsrf.bf_2.ObjectFactory.class
34 })
35 public interface NotificationBroker {
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50 @WebMethod(operationName = "RegisterPublisher", action = "RegisterPublisher")
51 @WebResult(name = "RegisterPublisherResponse", targetNamespace = "http://docs.oasis-open.org/wsn/br-2", partName = "RegisterPublisherResponse")
52 public RegisterPublisherResponse registerPublisher(
53 @WebParam(name = "RegisterPublisher", targetNamespace = "http://docs.oasis-open.org/wsn/br-2", partName = "RegisterPublisherRequest")
54 RegisterPublisher registerPublisherRequest)
55 throws InvalidTopicExpressionFault, PublisherRegistrationFailedFault, PublisherRegistrationRejectedFault, ResourceUnknownFault, TopicNotSupportedFault, UnacceptableInitialTerminationTimeFault
56 ;
57
58
59
60
61
62 @WebMethod(operationName = "Notify", action = "Notify")
63 @Oneway
64 public void notify(
65 @WebParam(name = "Notify", targetNamespace = "http://docs.oasis-open.org/wsn/b-2", partName = "Notify")
66 Notify notify);
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86 @WebMethod(operationName = "Subscribe", action = "Subscribe")
87 @WebResult(name = "SubscribeResponse", targetNamespace = "http://docs.oasis-open.org/wsn/b-2", partName = "SubscribeResponse")
88 public SubscribeResponse subscribe(
89 @WebParam(name = "Subscribe", targetNamespace = "http://docs.oasis-open.org/wsn/b-2", partName = "SubscribeRequest")
90 Subscribe subscribeRequest)
91 throws InvalidFilterFault, InvalidMessageContentExpressionFault, InvalidProducerPropertiesExpressionFault, InvalidTopicExpressionFault, NotifyMessageNotSupportedFault, ResourceUnknownFault, SubscribeCreationFailedFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault, UnacceptableInitialTerminationTimeFault, UnrecognizedPolicyRequestFault, UnsupportedPolicyRequestFault
92 ;
93
94
95
96
97
98
99
100
101
102
103
104
105
106 @WebMethod(operationName = "GetCurrentMessage", action = "GetCurrentMessage")
107 @WebResult(name = "GetCurrentMessageResponse", targetNamespace = "http://docs.oasis-open.org/wsn/b-2", partName = "GetCurrentMessageResponse")
108 public GetCurrentMessageResponse getCurrentMessage(
109 @WebParam(name = "GetCurrentMessage", targetNamespace = "http://docs.oasis-open.org/wsn/b-2", partName = "GetCurrentMessageRequest")
110 GetCurrentMessage getCurrentMessageRequest)
111 throws InvalidTopicExpressionFault, MultipleTopicsSpecifiedFault, NoCurrentMessageOnTopicFault, ResourceUnknownFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault
112 ;
113
114 }