Hello,
I hope this is just a stupid question, but I have a simple application that exposes methods using the XML-RPC built-in webserver, and connecting to it using a PHP XML-RPC client library. I've been having some difficulties within PHP, and turned on a debugging function in my application that displays the response to a method call.
The particular method I'm calling returns a Java data type of "String", but the response from the XML-RPC webserver is:
<?xml version="1.0" encoding="ISO-8859-1"?>
<methodResponse>
<params>
<param>
<value>blahblahblah</value>
</param>
</params>
</methodResponse>Notice the "value" without "string".
The PHP library is returning the following error: " faultCode 2 faultString Invalid return payload: enabling debugging to examine incoming payload "
So...
It seems as though Apache XML-RPC is not specifying the data type in the return value, and the PHP client library is puking on that.
Any ideas on why the response does not specify data type of "string" ? We have been using this implementation with the Apache XML-RPC client, and a Javascript client without problems, using this same method.
Thanks!
- Matt
--
------------------------- Matthew Sell Programmer UNIX System Administrator On Time Support, Inc. www.ontimesupport.com
Join the Metrology Software Discussion List METLIST! http://www.ontimesupport.com/metlist.html
Growing old is mandatory; growing up is optional. Today's mighty oak is just yesterday's nut that held its ground.
