Well yah, it couldn't be an infinite wall. It seems to be more for magical and ranged attacks (even then some magic is capable of getting through). Also, a charging enemy would have to either take its time to go around the wall, giving the ones behind it more time to respond, or be forced to stop unless it wants to crash into it. Its not the best form of defense, but it could certainly work.