class ManagementRequestSender {

    static Integer getRequestId(
            SoapMessageImpl responseMessage) throws SOAPException {
        NodeList nodes = responseMessage
                .getSoap()
                .getSOAPBody()
                .getElementsByTagNameNS(SoapHeader.NS_XROAD, "requestId");

        if (nodes.getLength() == 0) {
            return null;
        }

        Node node = nodes.item(0);

        try {
            return Integer.parseInt(node.getTextContent());
        } catch (NumberFormatException e) {
            return null;
        }
    }

    public  ManagementRequestSender(ClientId sender, ClientId receiver);

}