Not sure if the OP found a solution to the texting over wifi problem or not yet, but I had the same issue when I was out of the country. I was frustrated since my wife's iPhone texted worked fine and I couldn't even though Verizon stated we could text over WiFi (I have an S5 phone).
Tried it...