Skip to Content
Menú
This question has been flagged
3 Respostes
5724 Vistes

Hi, I wonder what does XML-RPC can be used with OpenERP. Is it use for a CRUD operation from a client computer ? Only ?

What else can XML-RPC be benefit to use with OpenERP ?

Thank you

UPDATE-QUESTIONS: If XML-RPC is used to do only operation, why we should use it ? Isn't it better to use PHP and do the CRUD operation directly ?

Avatar
Descartar
Best Answer

If you want do it via web service then have look at the OpenERP XML-RPC Web services

XML-RPC service can call function(CRUD as well as ORM), its arguments, and the result of the call are transported using HTTP and encoded using XML. 

XML-RPC can be used with Python, Java, Perl, PHP, C, C++, Ruby, Microsoft’s .NET and many other programming languages. Implementations are widely available for platforms such as Unix, Linux, Windows and the Macintosh.

Avatar
Descartar
Autor

Thanks, I skimmed through the documentation. In the section PHP with login demo script, is this means that I can create a login form and login to OpenERP from my website instead of regular login page of OpenERP ?

Yes, you can create your own form in PHP to do log in to OpenERP.

Autor

Could you please suggest the way to redirect to OpenERP HomePage ? I followed from the document and others webpage from googling, it's only about connect, read, and write, but there is no example of how to redirect to OpenERP HomePage.

Autor Best Answer

Additional Answer: XML-RPC will be useful when there are others program [ written in different language from OpenERP and perhaps different platforms ] wants to talk to OpenERP.

Thanks @Atul

Avatar
Descartar
Best Answer

As of today it you want to plan to integrate odoo apps with other application JSON is the correct approach as odoo is also support JSON API too. it is faster then the XML and you can do all when you can do with xml.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de jul. 25
2734
1
d’oct. 24
1953
1
d’abr. 24
2005
0
de set. 23
1600
1
de juny 23
2072