跳至内容
菜单
此问题已终结
2 回复
2695 查看

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!

形象
丢弃
编写者 最佳答案

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!


形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
7
7月 25
50721
1
7月 25
1984
4
4月 25
12450
1
2月 25
3773
1
1月 25
1552