001
002 package org.apache.servicemix.wsn.jaxws;
003
004 import javax.jws.WebMethod;
005 import javax.jws.WebParam;
006 import javax.jws.WebResult;
007 import javax.jws.WebService;
008 import javax.jws.soap.SOAPBinding;
009 import org.oasis_open.docs.wsn.b_2.GetCurrentMessageResponse;
010 import org.oasis_open.docs.wsn.b_2.SubscribeResponse;
011
012 @WebService(name = "NotificationProducer", targetNamespace = "http://docs.oasis-open.org/wsn/bw-2")
013 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE)
014 public interface NotificationProducer {
015
016
017 @WebMethod(operationName = "GetCurrentMessage", action = "")
018 @WebResult(name = "GetCurrentMessageResponse", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
019 public GetCurrentMessageResponse getCurrentMessage(
020 @WebParam(name = "GetCurrentMessage", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
021 org.oasis_open.docs.wsn.b_2.GetCurrentMessage GetCurrentMessage)
022 throws InvalidTopicExpressionFault, MultipleTopicsSpecifiedFault, NoCurrentMessageOnTopicFault, ResourceUnknownFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault
023 ;
024
025 @WebMethod(operationName = "Subscribe", action = "")
026 @WebResult(name = "SubscribeResponse", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
027 public SubscribeResponse subscribe(
028 @WebParam(name = "Subscribe", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
029 org.oasis_open.docs.wsn.b_2.Subscribe Subscribe)
030 throws InvalidFilterFault, InvalidMessageContentExpressionFault, InvalidProducerPropertiesExpressionFault, InvalidTopicExpressionFault, NotifyMessageNotSupportedFault, ResourceUnknownFault, SubscribeCreationFailedFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault, UnacceptableInitialTerminationTimeFault, UnrecognizedPolicyRequestFault, UnsupportedPolicyRequestFault
031 ;
032
033 }