Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had the same problem, getting the <code>END_DOCUMENT</code> error, but I solved it.</p> <p>The main issue was in the proxy settings in simulator.</p> <p>When I was trying to access web service from Blackberry simulator, I was getting this error all the time, no matter what I did. After 2 days of "research", I fixed the problem. Do the following:</p> <ol> <li>Make sure that you have preverified KSOAP2 jar. If not do the steps: <a href="http://www.craigagreen.com/index.php?/Blog/blackberry-and-net-webservice-tutorial-part-1.html" rel="nofollow">http://www.craigagreen.com/index.php?/Blog/blackberry-and-net-webservice-tutorial-part-1.html</a></li> <li>Make sure you have installed MDS. If not, go <a href="https://swdownloads.blackberry.com/Downloads/entry.do?code=996009F2374006606F4C0B0FDA878AF1" rel="nofollow">https://swdownloads.blackberry.com/Downloads/entry.do?code=996009F2374006606F4C0B0FDA878AF1</a> download and install Blackberry Email and MDS Services Simulator Package.</li> <li><p>Go to <code>C:\Program Files (x86)\Research In Motion\BlackBerry Email and MDS Services Simulators 4.1.2\MDS\config</code> (which is where package from Step 2 is installed). Open <code>rimpublic.property</code> file. Under <code>[HTTP HANDLER]</code> add the following lines:</p> <pre><code>application.handler.http.proxyEnabled = true application.handler.http.proxyHost=YOUR_PROXY_IP application.handler.http.proxyPort=PROXY_PORT application.handler.http.proxyUser=PROXY_USER (with domain if required) application.handler.http.proxyPass=PASSWORD application.handler.http.proxyAutoConfig = false` </code></pre></li> <li><p>Now quite IMPORTANT and interesting step. First Blackberry simulator I have user in Eclipse did not take proxy settings. And I WAS NOT PROMTED to enter proxy settings. So I had no internet access in simulator (THAT WAS THE MAIN ISSUE). Then I tried to install other simulator. (in my case Blackberry Pearl 9100 version 5.0.0.884 You can download it here: <a href="http://us.blackberry.com/developers/resources/simulators.jsp" rel="nofollow">http://us.blackberry.com/developers/resources/simulators.jsp</a>). When i tried to connect to internet through the web browser I was prompted for username, domain and password. And boom, I have internet connection. Problem solved. My app was working fine.</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload