set output for web service