Yes, they both are soluble in water
Barium chloride is the inorganic compound with the formula BaCl2. It is one of the most common water-soluble salts of barium.
Ammonia is a gas and yes, it is soluble in water. The solubility of any compound depends upon it’s polarity and because water is a polar molecule, it dissolves readily polar molecules. As both water and ammonia are Polar, ammonia can get dissolved in water.