Soft X-ray emission and chromospheric flares