public void read(MessageDocument message, String namespace) {
public boolean read(MessageDocument message, String namespace) { boolean found=false;
    public void read(MessageDocument message, String namespace) {        for (Element header : message.getEnvelope().getHeaders()) {            if (!namespace.equals(header.getNamespaceURI())) {                continue;            }            String localname = header.getLocalName();            String text = header.getValue();            if (WSA_TO.equals(localname)) {                to = new AlpineEPR(header, namespace);                //extract To:            } else if (WSA_MESSAGEID.equals(localname)) {                messageID = text;            } else if (WSA_ACTION.equals(localname)) {                action = text;            } else if (WSA_FROM.equals(localname)) {                from = new AlpineEPR(header, namespace);            } else if (WSA_REPLYTO.equals(localname)) {                replyTo = new AlpineEPR(header, namespace);            } else if (WSA_FAULTTO.equals(localname)) {                faultTo = new AlpineEPR(header, namespace);            } else if (WSA_REFERENCE_PARAMETERS.equals(localname)) {                referenceParameters = (Element) header.copy();            } else if (WSA_RELATES_TO.equals(localname)) {                //TODO: RelatesTo, as and when needed                log.warn("Not yet implemented " + header);            }        }    }