added end notificitaion code

We should be passing /httpresultset which is downloaded instead /resultset