[phpxmlrpc] I'm Lost with phpxmlrpc

Overpeer --- overpeer at gmail.com
Fri Feb 3 12:09:28 GMT 2006


Hello, i probed it but:

$signum = $v->arraysize();
            for($i = 0; $i < $signum; $i++)
               {
                 print $i;
                 $sig = $v->arraymem($i);
                 $paramsnums = $sig->arraysize()-1;
                 $retval = $sig->arraymem(0);
                 $retval = $sig->arraymem(1);

                 print $retval->scalarval();                        // Error
here ----- Line 62
                 for ($j = 1; $j <= $paramsnums; $j++)
                   {
                      $param = $sig->arraymem($j);
                      echo "  Param number $j must be of
type:".$param->scalarval()."\n";
                   }

                 }

The error is: *Fatal error*: Call to a member function on a non-object in *
/var/www/localhost/htdocs/client.php* on line *62*

The xml-rpc incoming is:

<?xml version="1.0"?>
<methodResponse>
   <params>
   <param>
<value>
  <array>
    <data>
<value>
  <struct>
    <member>
      <name>ITINERARIO_CODIGO</name>
      <value><string>311</string></value>
    </member>
  </struct>
</value>

<value>
  <struct>
    <member>
      <name>ITINERARIO_CODIGO</name>
      <value><string>310</string></value>
    </member>
  </struct>
</value>

  </data>
</array>
</value>

   </param>
   </params>
</methodResponse>


Some idea??? :S :S

A lot of thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnomehack.com/pipermail/phpxmlrpc/attachments/20060203/82a5c06f/attachment.htm


More information about the phpxmlrpc mailing list