[phpxmlrpc] Problem running simple test

Edwin Pratomo edwin at imt.co.id
Tue May 6 11:32:56 BST 2003


hi,

I've just downloaded and tried xmlrpc-1.0.99.2 to run a simple test from:
http://xmlrpc-c.sourceforge.net/xmlrpc-howto/xmlrpc-howto-php-client.html

but it doesn't work. Below is the verbose output I got when running in debug 
mode. Any ide on what is going wrong? 

rgds,
Edwin.

                               XML-RPC PHP Demo
---GOT---
HTTP/1.1 200 OK
Date: Tue, 06 May 2003 03:31:10 GMT
Server: Apache/1.3.26 (Unix) PHP/4.1.2
X-Powered-By: PHP/4.1.2
Connection: close
Content-Type: text/xml
Content-length: 346

<?xml version=\"1.0\"?>
<!-- DEBUG INFO:

0 - new xmlrpcval(5, \'int\') 
1 - new xmlrpcval(3, \'int\') 


-->
<methodResponse>
<params>
<param>
<value><struct>
<member><name>sum</name>
<value><int>8</int></value>
</member>
<member><name>difference</name>
<value><int>2</int></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>


---END---
HEADER: HTTP/1.1 200 OK
HEADER: Date: Tue, 06 May 2003 03:31:10 GMT
HEADER: Server: Apache/1.3.26 (Unix) PHP/4.1.2
HEADER: X-Powered-By: PHP/4.1.2
HEADER: Connection: close
HEADER: Content-Type: text/xml
Content-length: 346
---EVALING---[0 chars]---
;
---END---

   XML-RPC  Fault  #2:  Invalid  return  payload:  enabling  debugging to
   examine incoming payload





More information about the phpxmlrpc mailing list