Tim McClure <[EMAIL PROTECTED]> writes: > Are there any standard recommendations for passing application error > messages or results back through an XML-RPC command? I know the XML-RPC > supports the concept of a fault message but this seems to be regulated to > XML-RPC service levels exceptions. Any input would be appreciated.
I wrote a wrapper around the real application interface. The wrapper covers all those things xml-rpc does not as I like. It returns the same type of answer for each call, i.e., a hashtable consisting of a faultcode, faultmessage and the real result. That allowed a consistent complementary unwrap and error handling on the client side beside the "usual" effect of no further API changes if the result value has to be enhanced for any reason. GreetinX Steffen -- Steffen Schwigon <[EMAIL PROTECTED]>
