how do i hook up my Vizio e40-c2 smart tv to my samsung HW-J355 soundbar?

Solution
Using a digital or analog cable is your only option. TV doesn't have BT or TVconnect (Samsung TVs only). Digital connection would be best.
If your TV has coax digital out you would use a coax to optical digital audio converter.