Hi everyone.

I am currently working on a project and I am new to php xmlrpc and openerp.

I came across sample codes but I cannot figure out the method being called nor
is it documented in the OpenERP xmlrpc definitions.

The link for the sample code is :

The link for the method definitions is here : http://doc.openerp.com/v5.0/developer/2_5_Objects_Fields_Methods/methods.html

I don't understand how the xmlrpcmsg is being built, more precisely in the sample code, what does this part do :
$msg = new xmlrpcmsg('execute');

Please anyone, guide me on this one.

5 Years
Discussion Span
Last Post by cereal

Check these links: http://phpxmlrpc.sourceforge.net/doc-1.1/ch05s02.html & http://phpxmlrpc.sourceforge.net/doc-2/ch07s02.html (updated version)

The constructor takes the following form:

$msg=new xmlrpcmsg( $methodName,
Where methodName is a string indicating the name of the method you wish to invoke, and parameterArray is a simple Array of xmlrpcval objects.

where $methodName is 'execute' in your example. Bye :)

Edited by cereal: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.