02-11-2009 11:52 AM
Hello, I have one application which fetching data from server. some days before application works fine. But today I have updated my service book. Now my application in not connecting to web service. it throws exception : Unable to open connection.
What I have to do?
Thanks in advance.
Solved! Go to Solution.
02-13-2009 03:48 PM
What route is your connection being made over?
What Is - Different ways to make an HTTP or socket connection
Article Number: DB-00396
Are you able to access the server using the browser? This link may also help you.
What Is - Network Diagnostic Tool
Article Number: DB-00684
02-16-2009 01:39 AM
I am using the HttpConnection and I am trying to access web method of a webservice. It is trying for some time and it throws error. "enable to open connection".
My code is
conn = (HttpConnection) Connector.open("some url" + "name of the method", Connector.READ_WRITE,true); conn.setRequestMethod(HttpConnection.POST); conn.setRequestProperty("Content-Type", " application/x-www-form-urlencoded"); conn.setRequestProperty("Content-Length"," " + initialiseData.length()+""); conn.setRequestProperty("ConnectionTimeout",CON_TI
ME_OUT); conn.setRequestProperty("deviceside", "false");
What i have to change?
02-18-2009 08:57 AM