0

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 :
http://doc.openerp.com/v5.0/developer/6_22_XML-RPC_web_services/index.html

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.

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by cereal
0

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,
$parameterArray);
$methodName;
$parameterArray;
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.