Class UnSubscribeCommandBuilder

java.lang.Object
org.wso2.carbon.event.ws.internal.builders.CommandBuilderConstants
org.wso2.carbon.event.ws.internal.builders.UnSubscribeCommandBuilder

@Deprecated public class UnSubscribeCommandBuilder extends CommandBuilderConstants
Deprecated.
  • Field Summary

    Fields inherited from class org.wso2.carbon.event.ws.internal.builders.CommandBuilderConstants

    ATT_DIALECT, ATT_XPATH, DELIVERY_QNAME, EXPIRES, FILTER_QNAME, IDENTIFIER, NOTIFY_TO_QNAME, RENEW, SUBSCRIBE_QNAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnSubscribeCommandBuilder(org.apache.axis2.context.MessageContext messageCtx)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.axiom.soap.SOAPEnvelope
    fromSubscription(org.wso2.carbon.event.core.subscription.Subscription subscription)
    Deprecated.
    (01) invalid input: '<'s12:Envelope (02) xmlns:s12="http://www.w3.org/2003/05/soap-envelope" (03) xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" > (04) invalid input: '<'s12:Header> (05) invalid input: '<'wsa:Action> (06) http://schemas.xmlsoap.org/ws/2004/08/eventing/UnsubscribeResponse (07) invalid input: '<'/wsa:Action> (08) invalid input: '<'wsa:RelatesTo> (09) uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216 (10) invalid input: '<'/wsa:RelatesTo> (11) invalid input: '<'wsa:To>http://www.example.com/MyEventSinkinvalid input: '<'/wsa:To> (12) invalid input: '<'/s12:Header> (13) invalid input: '<'s12:Body /> (14) invalid input: '<'/s12:Envelope>
    org.wso2.carbon.event.core.subscription.Subscription
    toSubscription(org.apache.axiom.soap.SOAPEnvelope envelope)
    Deprecated.
    create request for unsubscribe request (01) invalid input: '<'s12:Envelope (02) xmlns:s12="http://www.w3.org/2003/05/soap-envelope" (03) xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" (04) xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing" (05) xmlns:ow="http://www.example.org/oceanwatch" > (06) invalid input: '<'s12:Header> (07) invalid input: '<'wsa:Action> (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe (09) invalid input: '<'/wsa:Action> (10) invalid input: '<'wsa:MessageID> (11) uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216 (12) invalid input: '<'/wsa:MessageID> (13) invalid input: '<'wsa:ReplyTo> (14) invalid input: '<'wsa:Address>http://www.example.com/MyEventSinkinvalid input: '<'/wsa:Address> (15) invalid input: '<'/wsa:ReplyTo> (16) invalid input: '<'wsa:To> (17) http://www.example.org/oceanwatch/SubscriptionManager (18) invalid input: '<'/wsa:To> (19) invalid input: '<'wse:Identifier> (20) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (21) invalid input: '<'/wse:Identifier> (22) invalid input: '<'/s12:Header> (23) invalid input: '<'s12:Body> (24) invalid input: '<'wse:Unsubscribe /> (25) invalid input: '<'/s12:Body> (26) invalid input: '<'/s12:Envelope>

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UnSubscribeCommandBuilder

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

    • 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) invalid input: '<'s12:Envelope (02) xmlns:s12="http://www.w3.org/2003/05/soap-envelope" (03) xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" (04) xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing" (05) xmlns:ow="http://www.example.org/oceanwatch" > (06) invalid input: '<'s12:Header> (07) invalid input: '<'wsa:Action> (08) http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe (09) invalid input: '<'/wsa:Action> (10) invalid input: '<'wsa:MessageID> (11) uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216 (12) invalid input: '<'/wsa:MessageID> (13) invalid input: '<'wsa:ReplyTo> (14) invalid input: '<'wsa:Address>http://www.example.com/MyEventSinkinvalid input: '<'/wsa:Address> (15) invalid input: '<'/wsa:ReplyTo> (16) invalid input: '<'wsa:To> (17) http://www.example.org/oceanwatch/SubscriptionManager (18) invalid input: '<'/wsa:To> (19) invalid input: '<'wse:Identifier> (20) uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa (21) invalid input: '<'/wse:Identifier> (22) invalid input: '<'/s12:Header> (23) invalid input: '<'s12:Body> (24) invalid input: '<'wse:Unsubscribe /> (25) invalid input: '<'/s12:Body> (26) invalid input: '<'/s12:Envelope>
      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) invalid input: '<'s12:Envelope (02) xmlns:s12="http://www.w3.org/2003/05/soap-envelope" (03) xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" > (04) invalid input: '<'s12:Header> (05) invalid input: '<'wsa:Action> (06) http://schemas.xmlsoap.org/ws/2004/08/eventing/UnsubscribeResponse (07) invalid input: '<'/wsa:Action> (08) invalid input: '<'wsa:RelatesTo> (09) uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216 (10) invalid input: '<'/wsa:RelatesTo> (11) invalid input: '<'wsa:To>http://www.example.com/MyEventSinkinvalid input: '<'/wsa:To> (12) invalid input: '<'/s12:Header> (13) invalid input: '<'s12:Body /> (14) invalid input: '<'/s12:Envelope>
      Parameters:
      subscription - The subscription which must be removed.
      Returns:
      The response envelope for the unsubscribe request.