问题
I have to implement some code in c# for login with Odoo database and give the logged user id please have a look,
public interface IOpenErpLogin
{
[XmlRpcMethod("login")]
int login(string dbName, string dbUser, string dbPwd);
}
But, it give error like "Bad Request".
Also i'm not sure for XmlRpcUrl, have you any idea about what URL in to [XmlRpcUrl("")] ?
回答1:
public interface IOpenErpLogin : IXmlRpcProxy
{
[XmlRpcMethod("login")]
int login(string dbName, string dbUser, string dbPwd);
}
来源:https://stackoverflow.com/questions/51404705/how-to-connect-or-login-with-odoo-using-c-sharp-code-and-after-connect-with-odo