Http Operation Error in Multiple Access Points
Friends,
I have developed an app using Java ME (J2ME) which interacts with web server using httpconnection.
The app works properly when the device has single access point, but it throws java.io.IOException with message Http Operation Error.
Since, there isn't any API to get details of Access Points in Java ME it is difficult to get rid of this problem.
I have tried a lot to get some solution but unfortunately nothing worked out.
If anyone can guide me in this matter then it would be a great help.
Thank you.
Re: Http Operation Error in Multiple Access Points
Hi,
In case of single or multiple access point is not device/app is asking and prompting to you to select the access point?
Is some error code was also shown the time this exception came?
This is some list of error code, please check if the same exists in this:
[QUOTE]java.io.IOException: 27-Error in HTTP operation “Context activation failed”
java.io.IOException: 28-Error in HTTP operation “Network Link closed”
java.io.IOException: 29-Error in HTTP operation “Network Link is disallowed to use and closed”
java.io.IOException: 30-Error in HTTP operation “Network Link (GPRS bearer) temporary suspended”
java.io.IOException: 42-Error in HTTP operation “Domain Name Service failure”
java.io.IOException: 53-Error in HTTP operation “Connection establishment timeout”[/QUOTE]
Re: Http Operation Error in Multiple Access Points
Thanks Raj for your immediate support.
1) No its not asking me to select access point. Is there a way to show the available access points?
2) I am checking on device and I have printed exception.toString() which gives me java.io.IOException Error in Http Operation.
Is there any way to see the error number?