跳至內容
選單
此問題已被標幟
1 回覆
7092 瀏覽次數

Hi, I'm attempting to connect via XMLRPC to a my odoo cloud instance. I am following the information on the External API page, https://www.odoo.com/documentation/12.0/webservices/odoo.html.

The following returns a Fatal Error : Fatal error: Uncaught Ripcord_TransportException: Could not access https://demo.odoo.com/start. It seems the listed url does not exist (https://demo.odoo.com/start)

PHP Syntax:

$info = ripcord::client('https://demo.odoo.com/start')->start();

I then attempted to access my own demo instance:

$common = ripcord::client("https://MYID.odoo.com/xmlrpc/2/common");

And this yielded the same fatal error.

I made sure that the passwords were correct, and reset to allow for local connections, as stated by the documentation.

Am I missing something?

頭像
捨棄
作者 最佳答案

Apparently the PHP code provided in Odoo API doc is not working.

I could connect throught PHP thanks to https://thierry-godin.developpez.com/openerp/openerp-xmlrpc-php-en/
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 24
1360
0
1月 23
5621
2
4月 18
5170
1
9月 17
4376
1
3月 15
5649