public String getEnvelopeDeclaration() {
        try {
            return buffer.getString(envelopeDecl.startIdx, envelopeDecl.endIdx + 1, "UTF-8"); //$NON-NLS-1$
        } catch (UnsupportedEncodingException e) {
            throw new RuntimeException(e);
        }
    }
@return the soap envelope declaration found during scanning
gateway/engine/core/src/main/java/io/apiman/gateway/engine/soap/SoapHeaderScanner.java