You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by jo...@apache.org on 2009/10/13 23:55:44 UTC
svn commit: r824943 - /webservices/xmlrpc/trunk/src/site/fml/faq.fml
Author: jochen
Date: Tue Oct 13 21:55:43 2009
New Revision: 824943
URL: http://svn.apache.org/viewvc?rev=824943&view=rev
Log:
Fixed bug in the example source code regarding arrays.
Modified:
webservices/xmlrpc/trunk/src/site/fml/faq.fml
Modified: webservices/xmlrpc/trunk/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/src/site/fml/faq.fml?rev=824943&r1=824942&r2=824943&view=diff
==============================================================================
--- webservices/xmlrpc/trunk/src/site/fml/faq.fml (original)
+++ webservices/xmlrpc/trunk/src/site/fml/faq.fml Tue Oct 13 21:55:43 2009
@@ -25,7 +25,7 @@
<answer>
<p>The problem is typically caused by code like the following:</p>
<source><![CDATA[
- Integer[] result = (Integer[])server.execute("Server.foo", param);
+ Integer[] result = server.execute("Server.foo", param);
]]></source>
<p>The problem is in the fact, that the XML-RPC response tells
the client, that the server returns an array. It doesn't tell