You Are Here:

Community: Developer Discussion Boards

#1 Old Series 60 sending "http get" to MS IIS - 2003-04-09, 18:40

Join Date: Mar 2003
Posts: 3
ppresedo
Offline
Registered User
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.
Reply With Quote

#2 Old I'm the same - 2003-04-09, 19:36

Join Date: Apr 2003
Posts: 3
joller
Offline
Registered User
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 With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia