Hi Ulf Dittmer ,
Thanks for reply.
I have to develop web service in java whose return type will be json, means the client will read this json to get the response of the request.
For login we need username and password.The client will call my webservice method by giving username and password as parameter .The method will return "login succesful" in json format.This is what my requirement.
Hope you get my problem this time.