From xmlrpc-user-return-2069-apmail-ws-xmlrpc-user-archive=ws.apache.org@ws.apache.org Mon Oct 26 17:43:41 2009 Return-Path: Delivered-To: apmail-ws-xmlrpc-user-archive@www.apache.org Received: (qmail 44114 invoked from network); 26 Oct 2009 17:43:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Oct 2009 17:43:41 -0000 Received: (qmail 80370 invoked by uid 500); 26 Oct 2009 17:43:40 -0000 Delivered-To: apmail-ws-xmlrpc-user-archive@ws.apache.org Received: (qmail 80356 invoked by uid 500); 26 Oct 2009 17:43:40 -0000 Mailing-List: contact xmlrpc-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: xmlrpc-user@ws.apache.org List-Id: Delivered-To: mailing list xmlrpc-user@ws.apache.org Received: (qmail 80348 invoked by uid 99); 26 Oct 2009 17:43:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 17:43:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jochen.wiedmann@gmail.com designates 209.85.211.193 as permitted sender) Received: from [209.85.211.193] (HELO mail-yw0-f193.google.com) (209.85.211.193) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 17:43:33 +0000 Received: by ywh31 with SMTP id 31so22040218ywh.30 for ; Mon, 26 Oct 2009 10:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=dwiIHYBiTZyvL4j0Db+7m4xO/09gnCL25Vh8y4cL40w=; b=qZMWxhtLLcIemP6W3MAE4h28gk0UfZ6/TolfwIBkhAHWrciNYIMT7KgIPYD54Iz9IL XFn85ZJ4MCGZfvBtD7t/Wo9HbGemlyRWofGEcMnvEN+rGFRBi3YPo103Eh5Cm4Ik9YUf Lo4POJfEPfIc/OUcSw4GP4G0muXMzC9eEFp6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=F57zJPhPajtum91vzIomfqavmmrCIthTYkChVxGrl3M+lg4iivEf9Q1QESSVyE+ceg DcSkLSZu5KMLRkKzKx4NeFuSPvIVYrboY6WpMnzjqL1uqIjUg0irBnVhvbH89TCTx+7i 8cqRbEY0uVzkGH0KbzmztTW7T1r8Nsv3uKnPc= MIME-Version: 1.0 Received: by 10.150.1.18 with SMTP id 18mr10831412yba.156.1256578992105; Mon, 26 Oct 2009 10:43:12 -0700 (PDT) In-Reply-To: <4392.91.13.20.88.1256553728.squirrel@www.hoc.net> References: <4392.91.13.20.88.1256553728.squirrel@www.hoc.net> Date: Mon, 26 Oct 2009 18:43:12 +0100 Message-ID: Subject: Re: Server examples on web site: execute From: Jochen Wiedmann To: xmlrpc-user@ws.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Are you sure, you are using version 2? This is unsupported since years. Jochen On Mon, Oct 26, 2009 at 11:42 AM, MSB wrote: > > There is something I clearly don't understand. On page > http://ws.apache.org/xmlrpc/xmlrpc2/server.html > > it essentially says to create a server, do: > > XmlRpcServer xmlrpc = new XmlRpcServer (); > byte[] result = xmlrpc.execute (request.getInputStream ()); > > But the execute method neither takes an input stream as a parameter (it > expects XmlRpcRequest) nor does it return a byte array (it returns an > object). > > Can someone please point me to a working example or tutorial to use this > in tomcat or some other application server (as HTTP servlet)? > > Thanks, > MSB > > > > > -- Germanys national anthem is the most boring in the world - how telling!