Hello,
I am switching from J1.5 to J1.6. I made an xmlrpc plugin for j1.5.
Now that I am running j1.6, I started to write a component using the
documentation from
http://docs.joomla.org/Xml-rpc_changes_in_Joomla!_1.6
and its example. I am relatively new to php language. So I first spent
some hours trying to run the sample without success. Very frustrating
as I did not find anything about j1.6 and xmlrpc. Then I found the
problem, looking at the JController.php code... The php is missing
after the <? in files example.php and example.xmlrpc.php. Grrrr. So it
could not instantiate the class. Well I can now call the method
example.test and return what I want as an answer. What I cannot do,
find, is how to get the parameters.
I first had parameters to the method : example.test($my_data), do the
same in my application to format the xml request with the my_data
value. But $my_data is always empty. My request works with the plugin
from th j1.5.
Because I am sending an xml/text with the POST command, I tried to get
the xml attached to the request to parse it myself. I thought the
variable $_FILES would have the xml file but, it stays empty.
I looked at the code of the xmlrpc component from the MovableType blog
for j1.6 but they are not using the component as they should because
they in fact instantiate in the component the plugin from the j1.5 so
it does not give me any answer.
So I probably mist something but I need your help. If someone as an
answer, it would be good to update the missing info from the doc as
well.