This question has been flagged
2 Replies
4341 Views

Hi all, thanks for coming on this topic !

I am looking for a list of queries (methods) I can call for a web service linked to OpenERP. The ultimate goal is to provide a custom web site to exploit the database and OpenERP's structure. I was looking for the UDDI but apparently there isn't such a thing for OpenERP. Also, WSDL remains unfound, and I expect it to be what I need.

So far, I found 5 ORM methods : create, read, write, search and unlink. ( https://doc.odoo.com/6.0/developer/6_21_web_services/ )

  1. How can I use it ?
  2. Is that all the methods I can use to interact with the database ?
  3. Is that the queries refered to when we deal with XML-RPC or JSON-RPC ?

I also found two files, web_services.py and netsvc.py in the server's files, I expected it to contain a list of queries available but I might not have found the right files.

Thank you,

Fabien

 

Avatar
Discard
Best Answer

Hi,

XML-RPC should provide all the access you need. You can look at the web_services.py for a few mis-documented methods and look at the documentation for information about the execute method which is the main entry point for most of the operations you would need. (The OpenERP GUI is actually simply a frontend to the XML-RPC backend).

Avatar
Discard
Best Answer

Hi fabien.
Uses XML-RPC for your need.
Please read this tutorial : http://thierry-godin.developpez.com/openerp/openerp-xmlrpc-php-fr/

[Edit] : In my previous message : https://www.odoo.com/forum/help-1/question/solved-what-directions-to-take-to-create-my-own-openerp-webservice-60747 , i tell you, you don't need to create another web service.

Best regards.

Avatar
Discard
Author

Thank you, indeed PHP is a serious way I forsee to manage the website. Also, by giong further on the understanding of web services, you reminded me a good source of informations with the tutorial. It's hard for me to be clear in my questions, but since your last answer I was about to use XML-RPC and I want to ensure you that your answer was not useless ;-)

So you don't encourage people to help you. When a response helps you understand something, you vote for the person to bring it to contribute more in the forum. Read the forum guidelines