Hi Michael,
Using the apache XML-RPC library you just catch your error and then throw an
XmlRpcException like this:
try
{
stuff;
}
catch (AnException e)
{
throw new XmlRpcException(faultCode, faultString);
}
this will be encoded and sent as a fault for you.
Is that what you were after?
phil.
> Is it possible to send back a Fault object? According to the XML-RPC
> specs all fault objects must wrap the faultCode and faultString members
> in a struct, that in a value and the value within a <fault> tag. I can
> certainly construct a Hastable with faultCode and faultString but how
> does one identify it as a fault?