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

On v6 the xml-rpc link was localhost:8069/xmlrpc

What about using xml-rpc on v7 ?

I've found this doc.openerp.com/trunk/developers/web/rpc/ but there is no link to connect using php for example to the openerp server and insert data.

形象
丢弃
最佳答案

Even if it is no longer mentioned in the documentation of version 7.0, the XML/RPC API is still there.

You can rely on the 6.1 documentation, it will work with version 7.0

PHP example

形象
丢弃
编写者

NetworkError: 404 NOT FOUND myopenerp:8069/xmlrpc

@Mihalache Ciprian: Are you trying to connect to the OpenERP SAAS? In such way, the access to XML/RPC is closed.

The documentation I linked is correct regarding the connection to XML/RPC.

As far as I know XMLRP is disabled on SAAS

Answer is correct. That part of the documentation needs some love: the wizard endpoint doesn't exist anymore, additional endpoints are provided (exposing the database name in the URI), NET-RPC is deprecated, ...

编写者

using Firebug openerp web is using myopenerp:8069/web/dataset/callkw or myopenerp:8069/web/dataset/searchread and so on for every portion displaid. So there must by a way co connect from outside.

最佳答案

The xml-rpc api documentation for v7 is available here: http://doc.openerp.com/trunk/developers/server/api_models/

形象
丢弃

Are you sure of your link?

Although there is a straightforward mapping between the ORM API and the RPC API, your link doesn't contain anything about RPC endpoints.

相关帖文 回复 查看 活动
0
12月 24
9562
3
9月 24
21817
5
12月 24
53119
4
7月 24
10644
7
8月 23
11054