It can be made by reacting sodium nitrate with barium chloride . The second requires combining barium chloride with a heated solution of sodium nitrate , causing barium nitrate crystals to separate from the mixture .