Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
7026 Lượt xem

I am trying to write a simple login script using php and xmlrpc however I keep getting "[errno] => 5 [errstr] => Connect error: Connection refused (111)". I can connect to the web client using the same port therefore I know there is no networking issue. I was wondering if my xmlrpc module is not installed. I am working on Openerp 7 with windows 7. I do apologise for the simplicity of the task but I am a starter on openerp.

Thanks.

UPDATE MOVED FROM ANSWER:

I think my wording of the question was not right. I can make xmlrpc calls to other platforms but I do get the above mentioned error when I try the openerp server. I can also not find a folder called xmlrpc under my openerp folder. Is it possible that web API is not installed with my openerp installation? How can I double check that?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

What tell the phpinfo(); to you?

If it is installed, you should see that there.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

I think my wording of the question was not right. I can make xmlrpc calls to other platforms but I do get the above mentioned error when I try the openerp server. I can also not find a folder called xmlrpc under my openerp folder. Is it possible that web API is not installed with my openerp installation? How can I double check that?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

If you have files called wsgi_server.py and web_services.py in server\openerp\service then XML_RPC is there.

Ảnh đại diện
Huỷ bỏ
Tác giả

Many thanks.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 18
5740
1
thg 12 16
4207
1
thg 12 22
3108
3
thg 9 22
20474
2
thg 2 21
7114