I am calling a webservice like this:
WS .url(url) .get .map { response => // error occurs on this line response.status match { case 200 =>
An alternative option:
import scala.concurrent.ExecutionContext.Implicits.global