Prepared the facelet and the associated web service for stream creation