You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2009/07/01 17:03:34 UTC
Re: how to enable mapping for methods of return type *void*
On Tue, Jun 30, 2009 at 8:33 PM, Aggarwal,
Ajay<Aj...@stratus.com> wrote:
> Some methods in my class implementing RPC are of return type VOID.
That works only, if
a) both client and server are written in Apache XML-RPC and
b) you are enabling extensions on both and
c) you are enabling void methods on both
Jochen
--
Don't trust a government that doesn't trust you.
RE: how to enable mapping for methods of return type *void*
Posted by "Aggarwal, Ajay" <Aj...@stratus.com>.
Thanks. I figured out what I was doing wrong.
I needed to first enable void methods
phm.setVoidMethodEnabled(true);
And then load the mappings
phm.load(...., "XmlRpcServlet.properties");
I was doing it the other way round.
-Ajay
-----Original Message-----
From: Jochen Wiedmann [mailto:jochen.wiedmann@gmail.com]
Sent: Wednesday, July 01, 2009 11:04 AM
To: xmlrpc-dev@ws.apache.org
Subject: Re: how to enable mapping for methods of return type *void*
On Tue, Jun 30, 2009 at 8:33 PM, Aggarwal,
Ajay<Aj...@stratus.com> wrote:
> Some methods in my class implementing RPC are of return type VOID.
That works only, if
a) both client and server are written in Apache XML-RPC and
b) you are enabling extensions on both and
c) you are enabling void methods on both
Jochen
--
Don't trust a government that doesn't trust you.