Build response xml for client
SHA1 and BASE64 encoding of digest on xml response