Covalense Global Interview Question

1. Java program for prime number? 2. Web service header ?