Defining a request wrapper for a web service