Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-143

HandlerChain.handleFault method calls Handler.handleResponse instead of handleFault

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-ws4ee-4.0.2
    • jboss-ws4ee-4.0.1
    • jbossws-native
    • None

      Here is a code fragment from org.jboss.webservice.handler.HandlerChainBaseImpl class:

      public boolean handleFault(MessageContext msgContext)
      {
      boolean doNext = true;

      int handlerIndex = handlers.size() - 1;
      if (falseIndex != -1)
      handlerIndex = falseIndex;

      Handler currHandler = null;
      for (; doNext && handlerIndex >= 0; handlerIndex--)

      { currHandler = ((Entry)handlers.get(handlerIndex)).getHandler(); log.debug("Handle fault: " + currHandler); !!! doNext = currHandler.handleResponse(msgContext); !!! }

      return doNext;
      }

      Is HandlerChain.handleFault method supposed to call Handler.handleResponse method?

      Or it is a bug?

              tdiesler@redhat.com Thomas Diesler
              vlad2001 Vlad Last (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: