I also have a Samsung Smart TV, UE40ES5500K. I recently purchased a Samsung HW-F350 soundbar to go with it. The soundbar did not work at all with the supplied cable. I had to purchase a digital optic cable to get it to work. It's a common problem. Why the digital optic able isn't supplied in the first place is anyone's guess.
I realise this doesn't answer your query. For the sake of a few pounds I would try the digital optical cable.