dispatchResponse(soapEnvelope, EventingConstants.WSE_UNSUBSCRIBE_RESPONSE, mc, false); } else { EventingConstants.WSE_FAULT_CODE_RECEIVER, "EventSourceUnableToProcess", "Unable to Unsubscribe", ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true);
dispatchResponse(soapEnvelope, EventingConstants.WSE_GET_STATUS_RESPONSE, mc, false); } else { EventingConstants.WSE_FAULT_CODE_RECEIVER, "EventSourceUnableToProcess", "Subscription Not Found", ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true);
dispatchResponse(soapEnvelope, EventingConstants.WSE_GET_STATUS_RESPONSE, mc, false); } else { EventingConstants.WSE_FAULT_CODE_RECEIVER, "EventSourceUnableToProcess", "Subscription Not Found", ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true);
dispatchResponse(soapEnvelope, EventingConstants.WSE_UNSUBSCRIBE_RESPONSE, mc, false); } else { EventingConstants.WSE_FAULT_CODE_RECEIVER, "EventSourceUnableToProcess", "Unable to Unsubscribe", ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true);
dispatchResponse(soapEnvelope, EventingConstants.WSE_SUbSCRIBE_RESPONSE, mc, false); } else { EventingConstants.WSE_FAULT_CODE_RECEIVER, "EventSourceUnableToProcess", "Unable to subscribe ", ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true); subscription.getErrorSubCode(), subscription.getErrorReason(), ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true);
dispatchResponse(soapEnvelope, EventingConstants.WSE_RENEW_RESPONSE, mc, false); } else { EventingConstants.WSE_FAULT_CODE_RECEIVER, "UnableToRenew", "Subscription Not Found", ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true); subscription.getErrorSubCode(), subscription.getErrorReason(), ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true);
dispatchResponse(soapEnvelope, EventingConstants.WSE_SUbSCRIBE_RESPONSE, mc, false); } else { EventingConstants.WSE_FAULT_CODE_RECEIVER, "EventSourceUnableToProcess", "Unable to subscribe ", ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true); SubscriptionMessageBuilder.getErrorSubCode(), SubscriptionMessageBuilder.getErrorReason(), ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true);
dispatchResponse(soapEnvelope, EventingConstants.WSE_RENEW_RESPONSE, mc, false); } else { EventingConstants.WSE_FAULT_CODE_RECEIVER, "UnableToRenew", "Subscription Not Found", ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true); SubscriptionMessageBuilder.getErrorSubCode(), SubscriptionMessageBuilder.getErrorReason(), ""); dispatchResponse(soapEnvelope, EventingConstants.WSA_FAULT, mc, true);