By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,948 Members | 1,573 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,948 IT Pros & Developers. It's quick & easy.

How to resolve TCP exception

P: 4
Hi all,

Can anybody help me how to resolve the below problem?

I am trying to read xml file from an URL link

as shown below,
HttpConnection conn = (HttpConnection);
InputStream InputStream = conn.openInputStream();

At this line i am getting exception on WTK emulator, TCP open
at )
at )
at )
at 57)
at 2)
at )
(+8) at MidletPackage.KXmlLinkParser.Parse(+48)
at MidletPackage.KXmlLinkParser$

I am using eclipseMe and WTK for emulator.
Can i read anything from any website using J2ME?
Are there any settings in WTK to connect to any website from emulator?

Or if there are security problems when conecting the site, then how to overcome them?

Please help me?
Jul 11 '08 #1
Share this Question
Share on Google+
2 Replies

P: 16

Is your system directly connected with Internet?

or If your system using proxy for accessing the simulator?

If proxy means,

Go for Preferences and select the Network Configuration option and set the Proxy details..

Then try to run the app..

I hope it wil work....
Jul 14 '08 #2

P: 4
thanks for the reply,,

Where can i find the proxy server address and port number???
Jul 14 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.