finally i have found the way to get the Url of a saved document. i am sharing it with others. i have retrieved the file name and concatenated with the Url of the document library.
var fileUrl = "Document library Url" + "File Name";
By using above fileUrl, the document can be opened.