コンテンツへスキップ
メニュー
この質問にフラグが付けられました
7496 ビュー

Hi, 


I'm trying to make a xml- rpc call via curl but it returns an error that I can not solve.
Anyone can help ?, thank you very much .

This is the call that I do and the error returned by me :

curl -k https://erp.xxxxxxxx.com/xmlrpc/object --data 
"<methodCall><methodName>execute</methodName>
<param><value>mybbdd</value></param>
                <param><value>149</value></param> <param><value>pass</value></param>
<param><value>res.users</value></param>
                <param><value>search_read</value></param>
<param>
<param><value><array>
<param><value><array>
<param><value><string>user_ids</string></value></param>
<param><value><string>=</string></value></param>
<param><value><int>149</int></value></param>
</array></value></param>
</array></value></param>
</param>
</methodCall>"

but this call give me this error:

<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><string>warning -- AccessError
No value found for res.users('149',).company_id</string></value>
</member>
<member>
<name>faultString</name>
<value><string></string></value>
</member>
</struct></value>
</fault>
</methodResponse>
アバター
破棄

change the username or provide group access to the currently user used in xml rpc for authenticate.

著作者

thanks for the reply , try this , but have the same error. I tried also specify the fields that I want you to give me but nothing ...

関連投稿 返信 ビュー 活動
3
3月 15
6569
1
7月 17
6118
3
7月 25
2814
0
3月 25
1286
0
1月 25
3386