Is it possible to have a web service with security authentication, but the authentication is not mandatory for the client ?

Tanks a lot for your help