Web Service

I want to create a web service in my site controller without SOAP which will be called from the iphone app to authenticate the user. The returned value is json encoded. I have browsed community but unable to fin any solution. Any one plz help me out

I suggest you use a REST API to approach this requirement.

Have a look at this how-to about Rest api on yii