Menu

#16 Buggy error handling in XmlRpcProxy

open
None
5
2004-07-07
2004-04-06
No

When i use an xml rpc proxy and on the server-side an
exception is thrown, the rpc client fails to handle the
response. this is because a hash map is returned but a
different object (depending of the method's return
type) is expected.

solution: the proxy must check if the result was an
error and if yes, it should throw an exception.

Discussion

  • Greger Ohlson

    Greger Ohlson - 2004-07-07

    Logged In: YES
    user_id=91348

    Correct. Errors on the server side should propagate as
    XmlRpcExceptions on the client side.

     
  • Greger Ohlson

    Greger Ohlson - 2004-07-07
    • assigned_to: nobody --> gregerohlson
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.