Thanks for your response.
But the NSQL solution would not be solving my purpose as i wanted to have the task details in a dynamic way (not depending only on the properties mentioned in NSQL)
My approach was to get a project with all the task and then search a task from the response XML by the task id.
The problem which i am facing is while XOG out a project with 700 tasks,its showing 'operation timeout'.
I tried to increase the timeout,but again its showing an error ' The system cannot import this instance with the current Configuration. Increase the ‘Maximum XML Nodes’ value in the Clarity System Administration and try again.'
Even if i increase the maximum node limit , its taking a lot of time to retrive the project with all the 700 tasks.
So was hoping for any alternative solution like XOG Task by ID or atleast get a pagination mechanism for getting the project with all task?