final SoapDetails soapDetails, final MessageContext context, final MessageContext responseContext,
final String action, final XMLStreamReader in)
throws XMLStreamException, SoapFault
{
final AddressingContext addressingContext = AddressingContext.getContext(context) ;
final EndpointReferenceType replyTo = addressingContext.getReplyTo() ;
if (replyTo != null)
{
if (!replyTo.isValid())
{
if (WSCLogger.arjLoggerI18N.isDebugEnabled())
{
WSCLogger.arjLoggerI18N.debug("com.arjuna.webservices.wsaddr2005.handlers.AddressingInterceptorHandler_1") ;
}
}
else if (!AddressingConstants.WSA_ADDRESS_ANONYMOUS.equals(replyTo.getAddress().getValue()))
{
final EndpointReferenceType faultTo = addressingContext.getFaultTo() ;
if (faultTo != null)
{
if (!faultTo.isValid())
{
if (WSCLogger.arjLoggerI18N.isDebugEnabled())
{
WSCLogger.arjLoggerI18N.debug("com.arjuna.webservices.wsaddr2005.handlers.AddressingInterceptorHandler_2") ;
}
}
else if (AddressingConstants.WSA_ADDRESS_ANONYMOUS.equals(faultTo.getAddress().getValue()))
{
return processInvocation(chain, soapService, soapDetails, context, responseContext, action, in) ;
}
}
TaskManager.getManager().queueTask(new Task() {