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);
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/27/14, 10:42 AM|
|Seen: 4195 times|
|Last updated: 5/29/15, 4:30 AM|