Generic Framework to consume all webservice

I want to construct framework which is generic to consume any kind of webservice, data binding, protocols etc. In this request/response parameters , corresponding data mapping between consumer and server are defined by end user. What is technology helpful to construct this frame work. Give some idea/drawbacks about this.