build web service for distributed network mid test