Hi datta,
Ok, lets first break down.
Have you first tested your RETSGUi service is its working?
First type this in your browser
http://host:port/sap/restgui/newsession?sap-client=XXX
You should get back a session ID.
Now, use this session ID to form a URl like this:
http://host:port/sap(SID=)/restgui/state/text
Do you see a control state tree?
Regards,
Sushant