Skip to Content
Menu
This question has been flagged
3 Replies
5715 Views

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
Discard
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
Discard
Author

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.

Author

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.

Author 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
Discard
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
Discard
Related Posts Replies Views Activity
3
Jul 25
2682
1
Oct 24
1917
1
Apr 24
1991
0
Sep 23
1571
1
Jun 23
2048