ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Berman <tber...@chopper.slackworks.com>
Subject Re: execute void
Date Wed, 22 May 2002 15:12:09 GMT
This doesnt really answer your question, but I recommend always returning 
something.

In all of the XMLRPC i write the server always returns a hash, and the 
hash ALWAYS contains a return code

You can always ignore the returned hash if you dont need the info.

On Wed, 22 May 2002, daniel martin wrote:

> Hi List!
> 
> 
> XML-RPC works fine if i execute methods which return a value.
> but if i execute a void method, the method is executed and then the following error will
be thrown:
> 
> org.apache.xmlrpc.XmlRpcException: java.lang.RuntimeException: null value not supported
by XML-RPC
> 
> 
> is there another implementation of XMLRPCClient.execute which supports void calls?
> 
> or is there another way to do this?
> 
> 
> thanks
> daniel.
> 


Mime
View raw message