Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003

    Series 60 sending "http get" to MS IIS

    I am trying to get the Series 60 to successfully issue a "http get" call to an Microsoft IIS v5.0. It appears that I connect and successfully send a URL like the following:


    but when I make the getResponseCode call I get an IO exception and -191 back.

    If I run the same Midlet application with the Series 60 emulator against an apache server I successfully send a receive a response from the server.

    If I run the Nokia 7210 emulator I do not see this problem with IIS.

    Has anyone encountered the same problem with the Series 60 and IIS? or is the problem with IIS's response?

    I am using:
    Win2k SP3
    IIS v5.0
    Apache v1.?? for Win32
    Nokia Series 60 v1.0 SDK
    The latest Nokia J2ME SDK.

  2. #2
    Registered User
    Join Date
    Apr 2003

    I'm the same

    As wrote in my old post, i'have got the same problem (not solved).
    I obtain the same error code

    I use
    IIS 5.0 (over patched)
    Win2K Server
    Apache Tomcat 4.0.3
    Symbian series 60 nokia version v.1.0

    Here is the code.

    String url = "http://localhost:8080/examples/servlet/Regia?all=1";
    StringBuffer sbuf = new StringBuffer();
    HttpConnection c = null;
    InputStream is = null;
    boolean blOut = false;

    try {
    c = (HttpConnection) Connector.open(url);
    System.out.println("DEBUG --00");
    is = c.openInputStream();
    System.out.println("DEBUG --01");
    String status = parse(is);
    System.out.println("DEBUG --02");

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts