Hi!
So I'd like more information (remember, more is always better!).
- What is "Globales.CadenaConexion" ? Presumably, that's the beginning of the URL, but there are some interesting things that even that string can indicate, so it's better to show us exactly what it contains (for instance, if it looks like "http://this.is.my.http.server", the final URL will look like "http://this.is.my.http.serverservice.asmx/ObtenerInformaticaEmailsXML", which is probably not what you're hoping for).
- Does this code fail on a BlackBerry simulator? The simulator will not connect to the Internet unless the MDS simulator is also running on the same machine. In addition, the MDS simulator must have the same proxy/firewall settings as IE. If you launch the MDS simulator, and then launch the BlackBerry Simulator, then try to use the BlackBerry browser to go to some website such as google.com, you should see the results on the BlackBerry simulator, which indicates that the MDS simulator is set up correctly.
- Does this code fail on a real BlackBerry device? The device must be fully activated with the service provider and capable of accessing the Internet (say, through the browser).
Check the following regarding HTTP response codes:
List of HTTP status codes - Wikipedia, the free encyclopedia
Cheers,
karl