code: private OMElement getCredentialElement(SOAPHeader header) {
          if (header != null) {
              //Iterator it = header.getChildrenWithNamespaceURI(SECURITY_NAMESPACE); // Line commented out
              Iterator it = new WorkAroundOMChildrenNamespaceIterator(header.getFirstOMChild(), SECURITY_NAMESPACE); // Line added
              if (it.hasNext()) {
                  OMElement element = (OMElement) it.next();
                  if (element.getLocalName().equalsIgnoreCase(SECURITY_CREDENTIALS)) {
                      return element;
                  } else {
                      LOGGER.debug("Unexpected security header arrived: {}", element.getLocalName());
                  }
              }
          }
          return null;
  
      }
docs: Changes made to this method as part of workaround for DE5417 (bug in isEquals method in Axiom code) - altered lines commented