If I get your question correctly, your moving body falls irrespective of the type of joint you applied. One reason why that could happen is because you may have defined both the anchor and pendulum as dynamic bodies, and both fall the same way due to gravity.
I am assuming you are not yet rendering the anchor body, so you do not see it falling.