I am very new to webservices and want to know if any method in a class can be exposed as a webservice? What are the restrictions? What are the requirements for a method to be eligible for exposure as a webservice?
You cant specifically expose a method in a class as a web-service. However what you can do is define an interface with the method that you want to expose and then have an implementation class as a JSE (JAX-RPC Service Endpoint). Hope this helps.
Gaurav Agnihotri<br />SCJP, SCDJWS, IBM Six-Sigma Yellow Belt