Ok. Thanks. I had just found the offending code myself (in
XmlRpcClientResponseProcessor)
protected XmlRpcException decodeException(Object result)
throws XmlRpcClientException
{
Hashtable exceptionData;
try
{
exceptionData = (Hashtable) result;
return new XmlRpcException(
Integer.parseInt(exceptionData.get
("faultCode").toString()),
(String) exceptionData.get("faultString")
);
}
catch (Exception x)
{
throw new XmlRpcClientException("Error decoding XML-RPC
exception response", x);
}
}
I'll switch over to 1.2b1 myself too.
Henry
On 10 Jun 2005, at 17:05, Bedelet, Olivier ((GE Healthcare)) wrote:
Hi henry,
I have seen the same thing. This is a bug. You can read the bug
report here http://issues.apache.org/jira/browse/XMLRPC-61 . The
report includes a patch. I didn't try it, so i can't tell you if it
solve the problem. I continue to use the version 1.2b1 until a the
new release
Regards
I send a request with rpcClient.execute and this returns a
XMLRpcException. Should it not be
throwing one instead? As a result I get a class cast exception in my
code. I am using
version 2.0 final. Anyone else notice this?