Creating web adapter to handle www http requests