Fruit juice and soda are effectively the same to your body. They’re both high-fructose liquids which spike blood sugar and lead to insulin resistance. The only meaningful difference is that a fruit juice probably also includes some vitamins that the soda doesn’t.
Sources: anything published by Dr. Robert Lustig @ UCSF