Odoo Help


This community 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.


OpenERP integration with .NET Web Application

on 7/2/14, 1:56 AM 3,189 views

Hi we have an application in .net with sql server .Then how to integrate this appliaction with openerp 7.0 .Please need a help,.............

On 7/3/14, 7:35 AM

For that you can create an api using python,php,java,etc

For example check this https://doc.openerp.com/6.1/developer/12_api/


Hi Libu,

If you have visited  https://doc.openerp.com/6.1/developer/12_api/  - this link than you would have known that Odoo works on XML-RPC protocol for communication between client and server.

Therefore if you want to establish a communication between a '.NET' application and Odoo/OpenERP, you need make use of XML-RPC protocol. For achieving this you need to make use of library or dll in .NET application which makes XML-RPC communication possible, so there is a "dll" available "CookComputing.XmlRPCV2", which provides the api's to communicate on XML-RPC protocol with Odoo/OpenERP.

After including this dll in you project you can call the core ORM 'create, search,write.. ' etc. as well as other methods/functions of OpenERP.

To communicate with OpenERP you need to call the 'login' method of OpenERP, which allows to do the login under OpenERP using 'openerp credentials' from .NET application. See example       

 int login(string dbName, string dbUser, string dbPwd);

Now using this you will have to call the login method to get logged in into OpenERP. For calling other methods of OpenERP you need call the 'execute' methods of OpenERP. See example

int create(string dbName, int userId, string pwd, string model, string method, XmlRpcStruct fieldValues);

Object[] search(string dbName, int userId, string pwd, string model, string method, Object[] filters);

Object[] get_data(string dbName, int userId, string pwd, string model, string method, object[] ids);

So, this is the way how you communicate from a .NET application (web or desktop) to OpenERP.

You need to search for "CookComputing.XmlRPCV2" dll.


Cesar Equihua
On 7/2/14, 4:00 PM

My frend .NET is not Open Source, not is possible because Open ERP use python and Linux :NET working in Microsoft Windows



Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 7/2/14, 1:56 AM
Seen: 3189 times
Last updated: 3/16/15, 8:10 AM