web service query protptype