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.PauseSubscriptionResponse;
010    import org.oasis_open.docs.wsn.b_2.RenewResponse;
011    import org.oasis_open.docs.wsn.b_2.ResumeSubscriptionResponse;
012    import org.oasis_open.docs.wsn.b_2.UnsubscribeResponse;
013    
014    @WebService(name = "PausableSubscriptionManager", targetNamespace = "http://docs.oasis-open.org/wsn/bw-2")
015    @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE)
016    public interface PausableSubscriptionManager {
017    
018    
019        @WebMethod(operationName = "ResumeSubscription", action = "")
020        @WebResult(name = "ResumeSubscriptionResponse", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
021        public ResumeSubscriptionResponse resumeSubscription(
022            @WebParam(name = "ResumeSubscription", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
023            org.oasis_open.docs.wsn.b_2.ResumeSubscription ResumeSubscription)
024            throws ResourceUnknownFault, ResumeFailedFault
025        ;
026    
027        @WebMethod(operationName = "PauseSubscription", action = "")
028        @WebResult(name = "PauseSubscriptionResponse", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
029        public PauseSubscriptionResponse pauseSubscription(
030            @WebParam(name = "PauseSubscription", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
031            org.oasis_open.docs.wsn.b_2.PauseSubscription PauseSubscription)
032            throws PauseFailedFault, ResourceUnknownFault
033        ;
034    
035        @WebMethod(operationName = "Unsubscribe", action = "")
036        @WebResult(name = "UnsubscribeResponse", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
037        public UnsubscribeResponse unsubscribe(
038            @WebParam(name = "Unsubscribe", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
039            org.oasis_open.docs.wsn.b_2.Unsubscribe Unsubscribe)
040            throws ResourceUnknownFault, UnableToDestroySubscriptionFault
041        ;
042    
043        @WebMethod(operationName = "Renew", action = "")
044        @WebResult(name = "RenewResponse", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
045        public RenewResponse renew(
046            @WebParam(name = "Renew", targetNamespace = "http://docs.oasis-open.org/wsn/b-2")
047            org.oasis_open.docs.wsn.b_2.Renew Renew)
048            throws ResourceUnknownFault, UnacceptableTerminationTimeFault
049        ;
050    
051    }