This paper predicts x-ray scattering spectra for warm dense matter using a self-consistent description of ionic and electronic structure. The model determines the spectrum from plasma conditions and experimental parameters without introducing adjustable fitting parameters. It is first checked against room-temperature solid beryllium and then applied to warm dense beryllium and aluminum experiments. The comparisons show broad agreement alongside discrepancies that expose challenges in interpreting dense-plasma measurements. Readers get a physically grounded framework for connecting scattering data to plasma properties and for assessing which aspects of an experiment can distinguish competing models.