Class UnSubscribeCommandBuilder

    • Constructor Detail

      • UnSubscribeCommandBuilder

        public UnSubscribeCommandBuilder​(org.apache.axis2.context.MessageContext messageCtx)
        Deprecated.
    • Method Detail

      • toSubscription

        public org.wso2.carbon.event.core.subscription.Subscription toSubscription​(org.apache.axiom.soap.SOAPEnvelope envelope)
                                                                            throws InvalidMessageException
        Deprecated.
        create request for unsubscribe request (01) (06) (07) (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe (09) (10) (11) uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216 (12) (13) (14) http://www.example.com/MyEventSink (15) (16) (17) http://www.example.org/oceanwatch/SubscriptionManager (18) (19) (20) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (21) (22) (23) (24) (25) (26)
        Parameters:
        envelope - The soap envelope containing the unsubscribe request
        Returns:
        The subscription to remove
        Throws:
        InvalidMessageException
      • fromSubscription

        public org.apache.axiom.soap.SOAPEnvelope fromSubscription​(org.wso2.carbon.event.core.subscription.Subscription subscription)
        Deprecated.
        (01) (04) (05) (06) http://schemas.xmlsoap.org/ws/2004/08/eventing/UnsubscribeResponse (07) (08) (09) uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216 (10) (11) http://www.example.com/MyEventSink (12) (13) (14)
        Parameters:
        subscription - The subscription which must be removed.
        Returns:
        The response envelope for the unsubscribe request.