/** * Returns true if the FaultTo address does not match one of the supported * anonymous urls. If the FaultTo is not set, the ReplyTo is checked per the * spec. * * @param messageContext * @see #isReplyRedirected(org.apache.axis2.context.MessageContext) */ public static boolean isFaultRedirected(MessageContext messageContext) { EndpointReference faultTo = messageContext.getFaultTo(); if (faultTo == null) { if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) { log.debug(messageContext.getLogIDString() + " isFaultRedirected: FaultTo is null. Returning isReplyRedirected"); } return isReplyRedirected(messageContext); } else { return !faultTo.hasAnonymousAddress(); } }
/** * Returns true if the FaultTo address does not match one of the supported * anonymous urls. If the FaultTo is not set, the ReplyTo is checked per the * spec. * * @param messageContext * @see #isReplyRedirected(org.apache.axis2.context.MessageContext) */ public static boolean isFaultRedirected(MessageContext messageContext) { EndpointReference faultTo = messageContext.getFaultTo(); if (faultTo == null) { if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) { log.debug(messageContext.getLogIDString() + " isFaultRedirected: FaultTo is null. Returning isReplyRedirected"); } return isReplyRedirected(messageContext); } else { return !faultTo.hasAnonymousAddress(); } }
public void acknowledgeMessage(MessageContext msgContext) throws AxisFault { if (log.isDebugEnabled()) { log.debug("Acking one-way request"); } // need to skip the ACK till we get the ACK from the actual service for the out-only MEP if ((AddressingHelper.isReplyRedirected(msgContext) && !msgContext.getReplyTo().hasNoneAddress()) || (msgContext.getOperationContext() != null && WSDL2Constants.MEP_URI_IN_ONLY.equals(msgContext.getOperationContext() .getAxisOperation().getMessageExchangePattern()))) { status = RequestResponseTransportStatus.ACKED; msgContext.getOperationContext().setProperty( Constants.RESPONSE_WRITTEN, Constants.VALUE_FALSE); } }
if (!AddressingHelper.isReplyRedirected(msgContext)) { AddressingFaultsHelper.triggerOnlyNonAnonymousAddressSupportedFault(msgContext, AddressingConstants.WSA_REPLY_TO);
} else if (AddressingHelper.isReplyRedirected(messageContext) && AddressingHelper.isFaultRedirected(messageContext)) { if (mepString.equals(WSDL2Constants.MEP_URI_IN_OUT)
} else if (AddressingHelper.isReplyRedirected(msgContext) && AddressingHelper.isFaultRedirected(msgContext)) {
} else if (AddressingHelper.isReplyRedirected(msgContext) && AddressingHelper.isFaultRedirected(msgContext)) {
boolean msgIsAnon = !AddressingHelper.isReplyRedirected(msgContext); boolean isSequenceAnon = rmsBean.getReplyToEndpointReference() ==null || rmsBean.getReplyToEndpointReference().getAddress() ==null ||
if (AddressingHelper.isReplyRedirected(messageContext) && !messageContext.getReplyTo().hasNoneAddress()) {
if (AddressingHelper.isReplyRedirected(messageContext) && !messageContext.getReplyTo().hasNoneAddress()) {
if (AddressingHelper.isReplyRedirected(msgContext) && !msgContext.getReplyTo().hasNoneAddress()) {
if (AddressingHelper.isReplyRedirected(msgContext) && !msgContext.getReplyTo().hasNoneAddress()) {