Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Support for XMLRPC in J1.6 ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Hans  
View profile  
 More options Apr 7 2009, 4:06 am
From: "Hans" <hensi...@hotmail.com>
Date: Tue, 7 Apr 2009 10:06:59 +0200
Local: Tues, Apr 7 2009 4:06 am
Subject: Support for XMLRPC in J1.6 ?

On 23 januari '09 XMLRPC was partly removed from the 1.6 trunk by Anthony and Louis. The map /xmlrp and its contents were removed but the xmlrpc library is still present in /libraries/phpxmlrpc.

I haven't come across statements about changing XMLRPC support for J1.6. In any case it isn't mentioned in "revisiting the J1.6 roadmap". Have I missed something?

Would someone please be so kind to inform me and the world about the status of XMLRPC support in J1.6.

I'm developing a component which heavenly relies on XMLRPC so this kind of worries me. Possibly it is removed because it is being reworked. So maybe i should not be worried .

Hans.

BTW
Keep up the great work you all are doing.

  Emoticon1.gif
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Louis Landry  
View profile  
 More options Apr 8 2009, 1:43 pm
From: Louis Landry <louis.lan...@joomla.org>
Date: Wed, 8 Apr 2009 12:43:14 -0500
Local: Wed, Apr 8 2009 1:43 pm
Subject: Re: Support for XMLRPC in J1.6 ?

Hans,
What we have done is to remove the separate XMLRPC application from the
trunk and made way for a new method of handling service requests.  It is no
longer necessary to have an XMLRPC plugin group to handle XMLRPC requests
that end up proxying the logic and data structures within a component
anyway.

In your component, we'll say com_foo, designed using the MVC pattern you may
have a need to handle lots of "task-based" requests.  Things like edit,
save, delete, etc.  Often, when this happens it is helpful to use more than
one controller to break out code sections to smaller, more maintainable
parts.  Doing this you might have the following structure:

/components/com_foo/
/components/com_foo/controllers/c1.php
/components/com_foo/controllers/c2.php
/components/com_foo/models/
...
/components/com_foo/views/
...
/components/com_foo/controller.php
/components/com_foo/foo.php

This allows you to segment out grouped tasks into separate controllers.  In
this example you can see that there is a c1.php controller and a c2.php
controller.

In 1.5, you would need to have some logic in your base foo.php to determine
which controller gets included and executed based on some request variables,
etc.

In 1.6, there is a new convention based way of achieving this behavior as
well as adding in service requests.

/components/com_foo/
/components/com_foo/controllers/c1.php
/components/com_foo/controllers/c1.xmlrpc.php
/components/com_foo/controllers/c1.json.php
/components/com_foo/controllers/c2.php
/components/com_foo/models/
...
/components/com_foo/views/
...
/components/com_foo/controller.php
/components/com_foo/foo.php

If you have a look at this version of the com_foo component, you will notice
a couple of extra files.  In the controllers folder you now have
c1.xmlrpc.php and c1.json.php.  These controllers are where the logic to
handle service calls to the c1 controller tasks would live.  Lets assume
that the controller class in c1.php has only one method/task, bar.

class FooControllerC1 extends JController
{
    function bar()
    {
        echo 'Hello World';

        // Exit the application.
    }

}

If you wanted to allow an XMLRPC service request for this controller, you
would simply create c1.xmlrpc.php as shown in the second folder structure
and define the methods/tasks that you want to handle:

class FooControllerC1 extends JController
{
    function bar()
    {
        // Get an XMLRPC server object and de-serialize the request payload.

        // Run method logic.

        // Build XMLRPC response payload.

        // Output XMLRPC response payload.

        // Exit the application.
    }

}

You will also notice in the second folder structure, that there is a
c1.json.php.  As you can imagine, this class is pretty straightforward as
well.

class FooControllerC1 extends JController
{
    function bar()
    {
        echo json_encode('Hello World');

        // Exit the application.
    }

}

As you can see, controllers can be built up to handle as many different
types of service requests as you want for whatever types of tasks you want,
within your standard component folders.  It would also be trivial to turn
services on/off with simple conditional statements and component
configuration settings.

The standard way of requesting these various controllers/methods by
convention is something like:

index.php?option=com_foo&task={CONTROLLER}.{TASK}&protocol={SERVICE_TYPE}

So, if we wanted to send a request to the bar method in controller c1 via
XMLRPC the URL to use would simply be:

index.php?option=com_foo&task=c1.bar&protocol=xmlrpc

Similarly if we want the JSON service protocol:

index.php?option=com_foo&task=c1.bar&protocol=json

Just to use the base c1.php controller you remove the
&protocol={SERVICE_TYPE} variable from the request URL.

In Joomla 1.6, JController has a new getInstance() method that handles this
dispatching of the correct controllers for you based on the request
variables.

We most certainly are not getting rid of the ability to utilize XMLRPC in
your components, we are simply trying to make it more consistent and
cohesive with the rest of the system.

Hope that helps,
Louis

--
Development Coordinator
Joomla! ... because open source matters.
http://www.joomla.org

  Emoticon1.gif
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Schley  
View profile  
 More options Apr 8 2009, 6:27 pm
From: Rob Schley <rob.sch...@community.joomla.org>
Date: Wed, 8 Apr 2009 15:27:48 -0700
Local: Wed, Apr 8 2009 6:27 pm
Subject: Re: Support for XMLRPC in J1.6 ?

Can someone please put that on the Wiki?
Thanks,
Rob

On Wed, Apr 8, 2009 at 10:43 AM, Louis Landry <louis.lan...@joomla.org>wrote:

  Emoticon1.gif
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hans  
View profile  
 More options Apr 8 2009, 7:18 pm
From: "Hans" <hensi...@hotmail.com>
Date: Thu, 9 Apr 2009 01:18:00 +0200
Subject: Re: Support for XMLRPC in J1.6 ?

@Louis
Thank you very much for your detailed description. Glad that XML-RPC is here to stay
Will have a long hard look at it when I'm reworking my component.

@Rob
I have put this text on the wiki. Don't know if it is correctly done. It is just copy-paste with a bit of mark-up. You can find it here http://docs.joomla.org/Xml-rpc#XML-RPC_changes_in_J1.6.

Hans.

From: Rob Schley
Sent: Thursday, April 09, 2009 12:27 AM
To: joomla-dev-cms@googlegroups.com
Subject: Re: Support for XMLRPC in J1.6 ?

Can someone please put that on the Wiki?

Thanks,
Rob

On Wed, Apr 8, 2009 at 10:43 AM, Louis Landry <louis.lan...@joomla.org> wrote:

  Hans,

  What we have done is to remove the separate XMLRPC application from the trunk and made way for a new method of handling service requests.  It is no longer necessary to have an XMLRPC plugin group to handle XMLRPC requests that end up proxying the logic and data structures within a component anyway.

  In your component, we'll say com_foo, designed using the MVC pattern you may have a need to handle lots of "task-based" requests.  Things like edit, save, delete, etc.  Often, when this happens it is helpful to use more than one controller to break out code sections to smaller, more maintainable parts.  Doing this you might have the following structure:

  /components/com_foo/
  /components/com_foo/controllers/c1.php
  /components/com_foo/controllers/c2.php

  /components/com_foo/models/

  ...
  /components/com_foo/views/
  ...
  /components/com_foo/controller.php
  /components/com_foo/foo.php

  This allows you to segment out grouped tasks into separate controllers.  In this example you can see that there is a c1.php controller and a c2.php controller.

  In 1.5, you would need to have some logic in your base foo.php to determine which controller gets included and executed based on some request variables, etc.

  In 1.6, there is a new convention based way of achieving this behavior as well as adding in service requests.

  /components/com_foo/
  /components/com_foo/controllers/c1.php
  /components/com_foo/controllers/c1.xmlrpc.php
  /components/com_foo/controllers/c1.json.php
  /components/com_foo/controllers/c2.php

  /components/com_foo/models/

  ...
  /components/com_foo/views/
  ...
  /components/com_foo/controller.php
  /components/com_foo/foo.php

  If you have a look at this version of the com_foo component, you will notice a couple of extra files.  In the controllers folder you now have c1.xmlrpc.php and c1.json.php.  These controllers are where the logic to handle service calls to the c1 controller tasks would live.  Lets assume that the controller class in c1.php has only one method/task, bar.

  class FooControllerC1 extends JController
  {
      function bar()
      {
          echo 'Hello World';

          // Exit the application.
      }
  }

  If you wanted to allow an XMLRPC service request for this controller, you would simply create c1.xmlrpc.php as shown in the second folder structure and define the methods/tasks that you want to handle:

  class FooControllerC1 extends JController
  {
      function bar()
      {
          // Get an XMLRPC server object and de-serialize the request payload.

          // Run method logic.

          // Build XMLRPC response payload.

          // Output XMLRPC response payload.

          // Exit the application.
      }

  }

  You will also notice in the second folder structure, that there is a c1.json.php.  As you can imagine, this class is pretty straightforward as well.

  class FooControllerC1 extends JController
  {
      function bar()
      {
          echo json_encode('Hello World');

          // Exit the application.
      }
  }

  As you can see, controllers can be built up to handle as many different types of service requests as you want for whatever types of tasks you want, within your standard component folders.  It would also be trivial to turn services on/off with simple conditional statements and component configuration settings.

  The standard way of requesting these various controllers/methods by convention is something like:

  index.php?option=com_foo&task={CONTROLLER}.{TASK}&protocol={SERVICE_TYPE}

  So, if we wanted to send a request to the bar method in controller c1 via XMLRPC the URL to use would simply be:

  index.php?option=com_foo&task=c1.bar&protocol=xmlrpc

  Similarly if we want the JSON service protocol:

  index.php?option=com_foo&task=c1.bar&protocol=json

  Just to use the base c1.php controller you remove the &protocol={SERVICE_TYPE} variable from the request URL.

  In Joomla 1.6, JController has a new getInstance() method that handles this dispatching of the correct controllers for you based on the request variables.

  We most certainly are not getting rid of the ability to utilize XMLRPC in your components, we are simply trying to make it more consistent and cohesive with the rest of the system.

  Hope that helps,
  Louis

  On Tue, Apr 7, 2009 at 3:06 AM, Hans <hensi...@hotmail.com> wrote:

    On 23 januari '09 XMLRPC was partly removed from the 1.6 trunk by Anthony and Louis. The map /xmlrp and its contents were removed but the xmlrpc library is still present in /libraries/phpxmlrpc.

    I haven't come across statements about changing XMLRPC support for J1.6. In any case it isn't mentioned in "revisiting the J1.6 roadmap". Have I missed something?

    Would someone please be so kind to inform me and the world about the status of XMLRPC support in J1.6.

    I'm developing a component which heavenly relies on XMLRPC so this kind of worries me. Possibly it is removed because it is being reworked. So maybe i should not be worried .

    Hans.

    BTW
    Keep up the great work you all are doing.

  --

  Development Coordinator
  Joomla! ... because open source matters.
  http://www.joomla.org

  Emoticon1.gif
< 1K Download

  Emoticon1.gif
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Schley  
View profile  
 More options Apr 8 2009, 7:22 pm
From: Rob Schley <rob.sch...@community.joomla.org>
Date: Wed, 8 Apr 2009 16:22:57 -0700
Local: Wed, Apr 8 2009 7:22 pm
Subject: Re: Support for XMLRPC in J1.6 ?

Thanks Hans!
Rob

  Emoticon1.gif
< 1K Download

  Emoticon1.gif
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hans  
View profile  
 More options Apr 23 2009, 4:19 am
From: "Hans" <hensi...@hotmail.com>
Date: Thu, 23 Apr 2009 10:19:02 +0200
Local: Thurs, Apr 23 2009 4:19 am
Subject: Re: Support for XMLRPC in J1.6 ?

@Louis (and others involved in XMLRPC),

Did you consider upgrading the phpxmlrpc library? In the trunk it is still version 2.2 from 25/02/07.
At the moment the phpxmlrpc workgroup is @ 2.2.2. Indeed no big changes. Some minor optimization was done and a few bugs were handled. So it is probably save to upgrade without breaking things.

For your convienience I hereby include the changelog since v2.2

Hans.

============ phpXMLRPC changelog since 2.2. ===============================

2009-03-16 - G. Giunta (giunta.gaet...@gmail.com) thanks Tommaso Trani

 * move from CVS to SVN on sf.net; file layout now is the same as in packaged lib

 * xmlrpc.inc: fix php warning when receiving 'false' in a bool value

    * Makefile, doc/Makefile: alter to follow new file layout

 * tagged and released as 2.2.2

2009-02-03 - G. Giunta (giunta.gaet...@gmail.com)

 * debugger/action.php: improve code robustness when parsing system.listmethods
 and system.describemethods call

 * xmlrpc.inc: format floating point values using the correct decimal separator
 even when php locale is set to one that uses comma (bug #2517579);
 use feof() to test if socket connections are to be closed instead of the
 number of bytes read (bug #2556209)

2008-10-29 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpcs.inc: allow add_to_map server method to add docs for single params, too

2008-09-20 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpc_wrappers.inc: added the possibility to wrap for exposure as xmlrpc
 methods plain php class methods, object methods and even whole classes

 * testsuite.php, server.php: added test cases for the new code

2008-09-07 - G. Giunta (giunta.gaet...@gmail.com) thanks Bruno Zanetti Melotti

 * xmlrpc.inc: be more tolerant in detection of charset in http headers (fix for bug #2058158)

2008-04-05 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpc.inc: fix encoding of UTF8 chars outside of the BMP

 * xmlrpcs.inc: fix detection of zlib.output_compression (thanks xbert)

2008-03-06 - G. Giunta (giunta.gaet...@gmail.com)

 * tagged and released as 2.2.1

 * Makefile: improve usage on windows xp despite cmd's broken mkdir

2007-10-26 - G. Giunta (giunta.gaet...@gmail.com) thanks sajo_raftman

 * xmlrpc.inc: remove one warning in xmlrpc_client creator

2007-10-26 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpc.inc: improve support for windows cp1252 character set (still
 commented in the code)

2007-09-05 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpc.inc, xmlrps.inc: do not try to set invalid charsets as output for
 xml parser, even if user set them up for internal_encoding (helps encoding
 to exotic charsets, while decoding to UTF8)

2007-09-05 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpc.inc: fix parsing of '1e+1' as valid float

2007-09-01 - G. Giunta (giunta.gaet...@gmail.com), thanks Frederic Lecointre

 * xmlrpcs.inc: allow errorlevel 3 to work when prev. error handler was a static method

 * testsuite.php: fix test on setCookie()

2007-08-31 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpc.inc: minor fix in cookie parsing

2007-07-31 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpc.inc: Fix usage of client::setcookie() for multiple cookies in non-ssl mode

2007-07-26 - G. Giunta (giunta.gaet...@gmail.com) thanks Mark Olive

 * xmlrpc.inc: Fix for bug # 1756274 (usage of cookies in ssl mode)

2007-04-28 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpc.inc: give more detailed curl information when DEBUG = 2; fix handling
 of case where curl w. keepalive is used and one connection of many fails

 * testsuite improvements: add one testcase; give feedbcak while tests are
 running

2007-04-01 - G. Giunta (giunta.gaet...@gmail.com)

 * doc/makefile, doc/custom.fo.xsl: improve pdf rendering of php source code

 * makefile: recover version number from source instead of having it hardcoded

2007-03-10 - G. Giunta (giunta.gaet...@gmail.com)

 * doc/makefile, doc/convert.php, doc/*.xsl: created customizations xslt to
 produce a documentation more in line with the php manual, esp. with regards
 to functions synopsis; added jellyfish book cover as local resource and a
 screenshot of the debugger too; various updates to the manual source; added
 a php script to highlight examples inside html docs

2007-03-09 - G. Giunta (giunta.gaet...@gmail.com)

 * debugger/action.php: css tweak for IE

 * added phpunit license file in the phpunit directory

 * added link to license (on sf.net site) to many files

2007-03-04 - G. Giunta (giunta.gaet...@gmail.com)

 * Makefile, doc/makefile: assorted improvements

2007-03-03 - G. Giunta (giunta.gaet...@gmail.com)

 * xmlrpc.inc: micro-optimization in declaration of global vars xmlrpcerr, xmlrpcstr

From: Louis Landry
Sent: Wednesday, April 08, 2009 7:43 PM
To: joomla-dev-cms@googlegroups.com
Subject: Re: Support for XMLRPC in J1.6 ?

Hans,

What we have done is to remove the separate XMLRPC application from the trunk and made way for a new method of handling service requests.  It is no longer necessary to have an XMLRPC plugin group to handle XMLRPC requests that end up proxying the logic and data structures within a component anyway.

In your component, we'll say com_foo, designed using the MVC pattern you may have a need to handle lots of "task-based" requests.  Things like edit, save, delete, etc.  Often, when this happens it is helpful to use more than one controller to break out code sections to smaller, more maintainable parts.  Doing this you might have the following structure:

/components/com_foo/
/components/com_foo/controllers/c1.php
/components/com_foo/controllers/c2.php

/components/com_foo/models/

...
/components/com_foo/views/
...
/components/com_foo/controller.php
/components/com_foo/foo.php

This allows you to segment out grouped tasks into separate controllers.  In this example you can see that there is a c1.php controller and a c2.php controller.

In 1.5, you would need to have some logic in your base foo.php to determine which controller gets included and executed based on some request variables, etc.

In 1.6, there is a new convention based way of achieving this behavior as well as adding in service requests.

/components/com_foo/
/components/com_foo/controllers/c1.php
/components/com_foo/controllers/c1.xmlrpc.php
/components/com_foo/controllers/c1.json.php
/components/com_foo/controllers/c2.php

/components/com_foo/models/

...
/components/com_foo/views/
...
/components/com_foo/controller.php
/components/com_foo/foo.php

If you have a look at this version of the com_foo component, you will notice a couple of extra files.  In the controllers folder you now have c1.xmlrpc.php and c1.json.php.  These controllers are where the logic to handle service calls to the c1 controller tasks would live.  Lets assume that the controller class in c1.php has only one method/task, bar.

class FooControllerC1 extends JController
{
    function bar()
    {
        echo 'Hello World';

        // Exit the application.
    }

}

If you wanted to allow an XMLRPC service request for this controller, you would simply create c1.xmlrpc.php as shown in the second folder structure and define the methods/tasks that you want to handle:

class FooControllerC1 extends JController
{
    function bar()
    {
        // Get an XMLRPC server object and de-serialize the request payload.

        // Run method logic.

        // Build XMLRPC response payload.

        // Output XMLRPC response payload.

        // Exit the application.
    }

}

You will also notice in the second folder structure, that there is a c1.json.php.  As you can imagine, this class is pretty straightforward as well.

class FooControllerC1 extends JController
{
    function bar()
    {
        echo json_encode('Hello World');

        // Exit the application.
    }

}

As you can see, controllers can be built up to handle as many different types of service requests as you want for whatever types of tasks you want, within your standard component folders.  It would also be trivial to turn services on/off with simple conditional statements and component configuration settings.

The standard way of requesting these various controllers/methods by convention is something like:

index.php?option=com_foo&task={CONTROLLER}.{TASK}&protocol={SERVICE_TYPE}

So, if we wanted to send a request to the bar method in controller c1 via XMLRPC the URL to use would simply be:

index.php?option=com_foo&task=c1.bar&protocol=xmlrpc

Similarly if we want the JSON service protocol:

index.php?option=com_foo&task=c1.bar&protocol=json

Just to use the base c1.php controller you remove the &protocol={SERVICE_TYPE} variable from the request URL.

In Joomla 1.6, JController has a new getInstance() method that handles this dispatching of the correct controllers for you based on the request variables.

We most certainly are not getting rid of the ability to utilize XMLRPC in your components, we are simply trying to make it more consistent and cohesive with the rest of the system.

Hope that helps,
Louis

On Tue, Apr 7, 2009 at 3:06 AM, Hans <hensi...@hotmail.com> wrote:

  On 23 januari '09 XMLRPC was partly removed from the 1.6 trunk by Anthony and Louis. The map /xmlrp and its contents were removed but the xmlrpc library is still present in /libraries/phpxmlrpc.

  I haven't come across statements about changing XMLRPC support for J1.6. In any case it isn't mentioned in "revisiting the J1.6 roadmap". Have I missed something?

  Would someone please be so kind to inform me and the world about the status of XMLRPC support in J1.6.

  I'm developing a component which heavenly relies on XMLRPC so this kind of worries me. Possibly it is
...

read more »

  Emoticon1.gif
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian  
View profile  
 More options May 6 2009, 3:37 pm
From: Ian <ianlen...@gmail.com>
Date: Wed, 6 May 2009 12:37:53 -0700 (PDT)
Local: Wed, May 6 2009 3:37 pm
Subject: Re: Support for XMLRPC in J1.6 ?
Are there any thoughts on providing a way to do introspection similar
to the way the old application had the onGetWebServices event that
could be used to get a list of all web services available on the site?
(well, XMLRPC services)

I guess all we need is to figure out where to locate this and
implement the call there.  Though we would have to traverse our
directory for controllers and find their methods.

Ian

On Apr 8, 1:43 pm, Louis Landry <louis.lan...@joomla.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hannes Papenberg  
View profile  
 More options May 25 2009, 3:46 am
From: Hannes Papenberg <hackwa...@googlemail.com>
Date: Mon, 25 May 2009 09:46:03 +0200
Local: Mon, May 25 2009 3:46 am
Subject: Re: Support for XMLRPC in J1.6 ?
Hi Hans,
looking at the sourceforge-project of phpxmlrpc, they have a bug in
2.2.2 that wont make it work on PHP5.2.2. If you could contact them and
get a fixed version that will work in 5.2.2, make a patch and put it
into the feature patch tracker and I will put it into 1.6. :-)

Hannes

Hans schrieb:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hans  
View profile  
 More options May 25 2009, 6:32 pm
From: "Hans" <hensi...@hotmail.com>
Date: Tue, 26 May 2009 00:32:35 +0200
Local: Mon, May 25 2009 6:32 pm
Subject: Re: Support for XMLRPC in J1.6 ?
Hi Hannes,

I examined the bug a bit and it turns out that the problem is not in the
phpXmlRpc library but it's a bug in PHP 5.2.2 (see
http://bugs.php.net/bug.php?id=41293).

There is a simple fix available and this fixed has already been included in
phpXmlRpc 2.2.2 (according to bug tracker
http://sourceforge.net/tracker/?func=detail&aid=1720919&group_id=3445...).

the fix is a simple test for the php version and filling a global variable
which does not contain the correct data

    if (phpversion()=="5.2.2") {
        $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents("php://input");
    }

But the message on the frontpage of the phpXmlRpc project has been put there
for a reason. At the moment I do not have PHP 5.2.2 available. So testing is
difficult. But I have sent a message to the project maintainers asking them
for clarification. As soon as I get a response I will return to this list.

BTW if a new version of phpXmlRpc is published then it would be php5 only.
I'm not sure if that is in accordance with minimum requirements for J1.6. If
not we probably would have to stick to the current version of phpXmlRpc.

Hans.

--------------------------------------------------
From: "Hannes Papenberg" <hackwa...@googlemail.com>
Sent: Monday, May 25, 2009 9:46 AM
To: <joomla-dev-cms@googlegroups.com>
Subject: Re: Support for XMLRPC in J1.6 ?

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hannes Papenberg  
View profile  
 More options May 25 2009, 7:39 pm
From: Hannes Papenberg <hackwa...@googlemail.com>
Date: Tue, 26 May 2009 01:39:11 +0200
Local: Mon, May 25 2009 7:39 pm
Subject: Re: Support for XMLRPC in J1.6 ?
1.6 is php5 exclusive. :-)

Hans schrieb:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gggeek  
View profile  
 More options May 27 2009, 1:07 pm
From: gggeek <giunta.gaet...@gmail.com>
Date: Wed, 27 May 2009 10:07:00 -0700 (PDT)
Subject: Re: Support for XMLRPC in J1.6 ?
As the current maintainer of the lib,
- I can assure you that the issue with php 5.2.2 has been fixed in
phpxmlrpc 221 and 222. So it is one more reason to upgrade from 220
- I started recently the port of the lib to php5-only. The current
version works fine, but the new one will remove old cruft that has
been in there for a long time. No release date planned yet. Any
critical bugs found (quite unlikely given the lib age and maturity)
will end up in a 223 release anyway
- I cannot restrain myself from sponsoring the busage of the sister
lib phpjsorpc to implement jsonrpc-based interfaces, too (it is found
in extras package of the phpxmlrpc download area). There is even a js
version of the lib that implements the same api client-side if needed!

On 26 May, 00:32, "Hans" <hensi...@hotmail.com> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »