Page 1 of 1

XMLRPC request on mobile

Posted: Thu Aug 11, 2016 6:58 am
by razvan
Hello
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
Kind Regards,
Razvan

Re: XMLRPC request on mobile

Posted: Mon Aug 15, 2016 12:56 pm
by peter-b
The XML RPC external is showing its age and I would be surprised if it worked correctly on mobile.

For XML RPC on mobile, your best option may be to use the revXML external to construct a query and then use libURL to send the request.

Re: XMLRPC request on mobile

Posted: Thu Aug 25, 2016 4:28 pm
by razvan
Can you attach here some links for download and use revXML external and libURL?

Thanks for your answer