#57 XMLRPCServlet: No way to send custom fault code

closed-accepted
nobody
WebKit (45)
5
2006-07-08
2003-06-06
Michael Casaday
No

XMLRPCServlet provides no means to specify a fault
code. If you set 'RPCExceptionReturn' to 'exception' in
Application.config, you can specify the fault string
exactly by throwing a string exception. However, there
is no way to specify the fault code. A fault code of 1 is
always returned.

This patch changes XMLRPCServlet so that when it
catches an exception of type Fault it marshals and sends
it as is.

Discussion

  • Logged In: YES
    user_id=193957

    This has already been incorporated into Webware. Closing now.

     
    • status: open --> closed-accepted