how to set the Basic Authentication in commonMessageSender
Hi,
I am extending the WebServiceGateWay support and using the commonMesageSender to invoke a remote webservice endpoint in a RESTful manner over from.
I need to set the Authorization header in the request before invoking the sendAndRecieve() method..
And I have implemented the Credentials interface in BasicAuthentication class ....
Somehow when i run with this, the request header is not set .
Any help would be appreciated .. |