I am new to webservices and just wanted to know the importance of SOAP-webservices. I tried looking for answer on the web but didint got any proper answer. I am a spring developer and curious to understand Spring support on webservices (@WebService annotation) I am aware about Spring annotation @Service. So what advantage we get when we use @WebService annotation. As per my understanding webservices are used to expose your service method or business logic to outside world so that any one can invoke it and get the service. But I want to know that when one should @Service annotation and when to use @Webservice annotation. Means which services can be exposed to outside world.
One advantage which I think using webservices is our View and controller layer can really remain less dependent on service layer if we use webservice. Anytime we are unhappy with view and controller we can change them and still use our good old business webservices.Am I correct? If my understanding is correct then I have one more question here then How can I prevent unauthorize access to my webservices? since anyone can invoke a webservice..
Kindly forgive
if I have asked too many question.
Need help as I am a newbie.