Error creating bean with name 'client'

What is the exception you're getting? That should tell more about what's right/wrong here.

I've had this working quite recently, can' t immediately spot what's wrong though.

With the (full) exception trace, i might be able to help.