| Reply | « Previous Thread | Next Thread » |
|
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:
http://localhost/scripts/cgi.exe?tables 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 J2ME 1.0.4.1. Nokia Series 60 v1.0 SDK The latest Nokia J2ME SDK. |
|
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"); |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|