If I understand it correctly, the whole purpose of this exercise is to launch the browser with a URL(non-local).
so why should not one launch the browser directly with the URL as posted in other message?
! Solution found for Opening WAP Browser with a url
I have found a solution for those of you that wish to open the WAP browser on the Nokia 7650 with a URL provided by your application. Before coming up with this I tried the things on this site, but to no avail.
Working from the knowledge that you can launch a local wmlc file, I created a very basic wml file which simply does a redirect to an online address. I then compiled this file using a command line wmlc compiler. I then took raw data of the wmlc file and hardcoded it into my application, splitting it into two parts (before and after the url).
My application then writes out the bytes in three parts, the part before the URL, the url itself (plain text in the wmlc file), and the part after the url. I then launch the browser with this wmlc file using the CDocumentHandler class (explained in another post).
Here's what the wml file looks like before being compiled: