Welcome Guest, Not a member yet? Register   Sign In
XML RPC
#1

Hi all,

I try to make a connection between 2 web sites with XML RMPC.
In the exemple documenentation, i see:

$this->xmlrpc->serve();

I don't undersand what is this method? Il never see it in the codeigniter documentation.

Thank's for your help

Yvo
Reply
#2

(This post was last modified: 06-06-2016, 01:54 AM by ciadmin.)

You have misread http://www.codeigniter.com/user_guide/li...mlrpc.html

The line in question is
$this->xmlrpcs->serve();

That asks the XML-RPC server to dispatch the incoming request according to your configuration.

The client website logic only needs the xmlrpc library, whereas the serving website's controller for this request needs both xmlrpc and xmlrpcs.

The example later in the explanation (http://www.codeigniter.com/user_guide/li...and-server) gives you the code you need for each end of the commuinication.
Reply
#3

It is a mistake .... I see the method serve () in the Xmlrpcs library ().

I can access the controller on the server.

But, I have difficulty understanding how to use the data.

I did not understand "$ this-> xmlrpc-> method ('Greetings');" Greetings to me is a method or it is not. And why go through $ config [ 'functions'] [ 'Greetings']?

If you have a little time for me to detail this process or give me a link to more detailed documentation.

thanks again
Reply
#4

I resolved my problem....


After many hours, i found ;-)

IT'S THE CODE IGNITER VERSION.
I used CI 3.0.0 and it doesn't work!!!

Il upload the last version: 3.0.6 and xml rpc worked in success!!!

Thank's for all to keep a time to help me.

Yvo
Reply




Theme © iAndrew 2016 - Forum software by © MyBB