zikzakmedia / android-openerp

Android class connect to OpenERP (webservices)
15 stars 21 forks source link

Cannot login to OpenERP in Android #5

Open thejaswi28 opened 10 years ago

thejaswi28 commented 10 years ago

Hi,

I am using your OpenErpConnect Class to login to the server. But I always get an html in the response. Response code is 200, but ends with html.

Below is my code,

OpenErpConnect op = OpenErpConnect.connect("http://192.168.100.29:8069/", 8069, "DevDB", "admin", "openerp");

And in XMLRPClient,

       URL loginUrl = new URL("http://192.168.100.29:8069/");
        XMLRPCClient client = new XMLRPCClient(loginUrl);
        Integer id = (Integer)client.call("login", db, user, pass);
        connection = new OpenErpConnect(server, port, db, user, pass, id);

But in the third line it is failing to login

Can any body tell me where I am going wrong. I am struggling from days for this