This is sample checkAvailable script for web service.