I want to share with you how I handled it finally.
I shoot a "ropeBullet" which is small circular box2d body, by setting it's velocity and angle. I render a rope graphic between bullet and ball.
When bullet reaches wall, I get from contactListener the point of contact
I connect the bullet and the wall with revoluteJoint, based on bullet center and contact ...