Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2710 Vizualizări

Hello All,


I need some help finding the best solution.


In my local server there are some Excel and CSV files that are updated/changed on different moments in time. 

I want to create a two-way communication. I want to be able to create a CSV file from within Odoo sh and save it on my local server. And I want to be able to read in the data from the CSV or Excel file on my local server.


I like to find the best solution for this challenge. (for example, using XMLRPC or RESTful API)


Thanks!

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Hello Cybrosys,

Thank you very much for your answer.

The reason why I asked this question is because, we want to connect multiple other software systems, so the frequency of exchanging data between Odoo sh and our local server is relative high. Is this a reason to switch to Odoo on premise?

If I chose RESTful API to make a connection, what is the best way to make a connection to my local server (e.g. VPN)? 

Thank you!


Imagine profil
Abandonează
Cel mai bun răspuns

Hi

Go through the following,

RESTful API and XML-RPC are two ways to communicate between Odoo and your local server. RESTful API is more modern and standardized, while XML-RPC is older but still functional. RESTful API is also easier to use and has more language and tooling support. It typically offers better performance than XML-RPC.

In most cases, RESTful API is the preferred choice for two-way communication. However, if you have existing infrastructure or specific requirements that necessitate XML-RPC, it can still be a viable option.

Here is a table that summarizes the key differences between RESTful API and XML-RPC:

Feature

RESTful API

XML-RPC

Standardization

Modern web standards

Older protocol

Ease of use

Easier to work with

Steeper learning curve

Language support

Wide range of languages

More limited language support

Tooling support

Extensive tooling and libraries are available

Fewer tooling options

Performance

Better performance

May introduce additional overhead

Scalability

More scalable

Less scalable

The best choice for you will depend on your specific needs and requirements.

Hope it helps

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
7
iul. 25
50745
1
iul. 25
1986
4
apr. 25
12468
1
feb. 25
3785
1
ian. 25
1557