Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am doing some work where I try and connect to the webservice of Odoo 8 through the XML RPC interface.
I am working off the documentation located here: https://www.odoo.com/documentation/8.0/api_integration.html#logging-in
In this documentation it states that the authentication method on the common endpoint returns an integer.. containing the uid. This does not seem to be true... I get a bool as a result.
Anybodý that has succesfully authenticated and recieved an uid? In that case..how? :-)
refer : http://xml-rpc.net/, add reference CookComputing.XmlRpcV2.dll file on your project in c#,
public interface IOpenErpLogin : IXmlRpcProxy
int login(string dbName, string dbUser, string dbPwd);
private void button1_Click(object sender, EventArgs e)
//Login to openerp
IOpenErpLogin rpcClientLogin = XmlRpcProxyGen.Create<IOpenErpLogin>(); //add XmlRpcProxyGen.CS File from src folder if required,
int userid = rpcClientLogin.login(dbname, userName, pwd);
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/27/14, 10:42 AM|
|Seen: 6504 times|
|Last updated: 5/29/15, 4:30 AM|