Error In Http Operation J2me
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up java.io.IOException: 42-Error in HTTP operation in J2me up vote 2 down vote favorite I am developing a mobile application in J2me for Nokia Asha 305, which will connect a webservice (WCF restful service). Connecting from SIM 2 is working fine but while I am trying to connect SIM 1 it throw following exception java.io.IOException: 42-Error in HTTP operation http java-me share|improve this question edited Nov 27 '12 at 14:35 gnat 5,83673148 asked Nov 27 '12 at 8:00 Salauddin shamim 112 I'm trying too to develop an app except is for Nokia Asha 302, but close models, and I get the same error. Could be the lack of credit? I have 6 MB of traffic left though. Did you find out the answer? –Iulian Onofrei Feb 10 '13 at 9:57 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Browse other questions tagged http java-me or ask your own question. asked 3 years ago viewed 501 times Blog Stack Overflow Podcast # 90 - Developer Stories, Charger Butts, and Joel's… Bye Bye, Bullets: The Stack Overflow Developer Story is the New Technical Resume Related 1j2me: Error opening stream - “java.io.IOException: -7334”0Http Error in J2ME app1405Using java.net.URLConnection to fire and handle HTTP requests0java.io.IOException: Error in HTTP op
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. http://stackoverflow.com/questions/13579704/java-io-ioexception-42-error-in-http-operation-in-j2me Join them; it only takes a minute: Sign up Http operation error please help to solve the issues? up vote -1 down vote favorite Im developing a mobile application using j2me. In my i send the data to server and receive data from server. I put a vodafone Sim in "nokia c2" mobile and run the application,then the network http://stackoverflow.com/questions/6979439/http-operation-error-please-help-to-solve-the-issues error is occured (java.io.IOException :81 - Http Operation). But i run the same application with the same sim in the mobile "sony ericsson -z530i" the my application runs correctly. Please tell me why the application not run correctly in nokia mobile & how to solve the issues. Thanks & Regards, java http java-me nokia mobile-application share|improve this question asked Aug 8 '11 at 8:29 sivakumar 11 Is it possible to debug your application, somehow? –Buhake Sindi Aug 8 '11 at 8:32 Im a registered user of this site.Now im in office.In office they had some firewall.That firewall prevents the login to any site.So im not able to login.So i add my points through answer like an unregistered user.Adding comments required login.So dont mistake me. Thanks & Regards, –user883844 Aug 8 '11 at 10:25 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote Possible issues: Your application doesn't have permission to connect to the internet Check if other app can connect to internet in the same phon
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of http://stackoverflow.com/questions/1361509/j2me-error-opening-stream-java-io-ioexception-7334 this site About Us Learn more about Stack Overflow the company Business Learn http://www.4answered.com/questions/view/cf35b8/javaioIOException-42-Error-in-HTTP-operation-in-J2me more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up j2me: error in Error opening stream - “java.io.IOException: -7334” up vote 1 down vote favorite I am making HTTP connections to server to get some data. It works on most devices, but I'm getting this error on Sony Ericsson P1i. I have found error description: KErrHttpInvalidHeaderInRequest -7334 Request contained a response header or a entity header but no body Body should exists, I mean, data is error in http not zero-length, and other devices with the same SIM-card and internet settings could get it in. http exception java-me header share|improve this question edited Mar 27 '14 at 4:47 Kedarnath 3,84851938 asked Sep 1 '09 at 9:35 Pavel Alexeev 3,17812433 try logging the request and post it here –ax. Sep 1 '09 at 11:03 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted I've fixed it! The problem was in request properties. I remove all these methods:
connection.setRequestProperty("...", "...");
and it works :) share|improve this answer answered Sep 1 '09 at 14:06 Pavel Alexeev 3,17812433 I've the same problem. I'm trying to read an audio streaming for blackberry and it gives me an error opening the streaming. I've comment all the connection.setRequestProperty...but nothing changes –Mun0n Mar 4 '13 at 10:43 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting
in J2me Tags: http java-me By : Salauddin shamim Source: Stackoverflow.com Question! By : Salauddin shamim Related Questions Video about java.io.IOException: 42-Error in HTTP operation in J2me About Us Contact Us Legal feedback Copyright © 2015 - All Rights Reserved - www.4answered.com