Return-Path: Delivered-To: apmail-ws-xmlrpc-dev-archive@www.apache.org Received: (qmail 7932 invoked from network); 8 Nov 2006 19:10:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2006 19:10:47 -0000 Received: (qmail 83745 invoked by uid 500); 8 Nov 2006 19:10:56 -0000 Delivered-To: apmail-ws-xmlrpc-dev-archive@ws.apache.org Received: (qmail 83728 invoked by uid 500); 8 Nov 2006 19:10:56 -0000 Mailing-List: contact xmlrpc-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: xmlrpc-dev@ws.apache.org List-Id: Delivered-To: mailing list xmlrpc-dev@ws.apache.org Received: (qmail 83719 invoked by uid 99); 8 Nov 2006 19:10:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 11:10:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 11:10:42 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GhsoY-0007R6-E1 for xmlrpc-dev@ws.apache.org; Wed, 08 Nov 2006 11:10:22 -0800 Message-ID: <7244894.post@talk.nabble.com> Date: Wed, 8 Nov 2006 11:10:22 -0800 (PST) From: Jimisola Laursen To: xmlrpc-dev@ws.apache.org Subject: InitParameters are not set (XMLRPC-116) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: lists@jimisola.com X-Virus-Checked: Checked by ClamAV on apache.org Jochen, I believe that you inserted a bug when you slightly refactored/changed my patch for XMLRPC-116. In handleInitParameters you call ReflectionUtil.setProperty(server, name, value) where server is an XmlRpcServletServer . This class does not have any setters for init parameters such as "enabledForExtensions" or "contentLengthOptional", so reflection fails. I believe that methods on XmlRpcServerConfig are reflection should be used on (this is what I did in my patch) and therefore ReflectionUtil.setProperty(server, name, value) should change to ReflectionUtil.setProperty(server.getConfig(), name, value). Right? If so, would you mind fixing it and provide a new SNAPSHOT. It breaks the whole SNAPSHOT more or less. The reason why I found this I got a XmlRpcException ("No such handler: com.example.setX"). Appearently, void methods aren't compliant with standard XML-RPC and since "enableForExtensions" was not set to true "voidMethodEnabled" was not set to true (see XmlRpcServlet:180 "mapping.setVoidMethodEnabled(server.getConfig().isEnabledForExtensions());"). Regards, Jimisola -- View this message in context: http://www.nabble.com/InitParameters-are-not-set-%28XMLRPC-116%29-tf2597241.html#a7244894 Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: xmlrpc-dev-unsubscribe@ws.apache.org For additional commands, e-mail: xmlrpc-dev-help@ws.apache.org