Code for the scouting web service.