Your problem is about the function return value rather then no
parameters. Make the restart() function return something and you should be
fine be fine.
At 03:53 PM 7/26/2002 +0200, you wrote:
>Hi,
>I got a problem trying to call a Java method without parameters through
>XmlRpcClient class.
>
>Here is a little code example and exception I get.
>
>Code:
>
>XmlRpcClient xmlrpc = new XmlRpcClient("http://localhost:25252/RPC2");
>xmlrpc.execute("SnmpCollector.restart", new Vector());
>
>
>// this is a function definition
>public void restart() {
> // do the work here
>}
>
>Exception:
>org.apache.xmlrpc.XmlRpcException: java.lang.RuntimeException: null value
>not supported by XML-RPC
Stan Berka Programmer Annalyst
Portland, OR Pope & Talbot
(503) 552-4315 Fax (503) 2202726