Hi Deepa,
You can use an IDE ,for example RAD ,WSAD
Currently I am using RAD with websphere to use web service.
In RAD, go to your class that you want to expose as a web service, right click on that class and follow Pawan's instructions.
Hope this helps you