10-19-2009, 08:01 AM
Join Date: Oct 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Localhost connection setup for a newbie
Please Login to Remove!
I am Newbie to blackberry development. I was working with wamp setup.i.e. Windows with apache, mysql and php. I have configured it read localhost. I have put an xml file in wamp folder such that when i access localhost file(ttp://localhost /xmlfile.ml), it renders me an sample xml file. now i want this xml output to be read by blackberry.
I searched for some threads in this forum. they suggested that chage localhost to some domain name, to do that add domain in system32\drivers\etc\hosts. This change was made but it didnot work. in some other thread they suggested to run mds server run localhost:8080 it gives the computer name from that you can access the site. but that to didnt work. in both cases i getting connection.getResponseCode() as HTTP_MOVED_TEMP(302).
Can any one tell me What is going wrong or how can we do it.
or suppose i want to put that xml file in mds server where to place that.
If i chage the URL from localhost to some URL which displays xml examples it is working fine but not in localhost.
Please guide me.
Last edited by skalluraya : 10-19-2009 at 08:04 AM.