I need to use webservices of odoo ERP in my app.
I was trying to make a request with revXMLRPC_CreateRequest.That's working just on pc,but not on mobile.
Have you another alternative for XMLRPC on mobile or an external, library?
Code: Select all
on mouseUp
put revXMLRPC_CreateRequest("139.59.145.239", "8069", "xmlrpc/2/common","http") into rpc_id -- Create the initial connection.
revXMLRPC_SetMethod rpc_id, "version" -- Specify the method to call.
--revXMLRPC_AddParam rpc_id, "string", "[]" -- For PaperCut, the first param must be the password.
--revXMLRPC_AddParam rpc_id, "string", "" -- Second param is the value required by the method.
put revXMLRPC_Execute(rpc_id) into result_id -- Submit & get the results.
answer result_id
put revXMLText (result_id) into fld "result"
end mouseUp
Razvan