[Soap-Python] Stop method processing via method_call event

azurIt azurit at pobox.sk
Fri Sep 30 18:02:31 CEST 2011


>Why can't you just return a status and/or return code along with None 
>for any objects your client is expecting?  On the client side, it would 
>just then check the status prior to interrogating the rest of the 
>message.  This is a pretty common pattern seen in web services.

We are doing just what you described but i want to stop processing in method_call event and return error status so authentication code will only be on one place (and doesn't have to be inside every method).

azur


More information about the Soap mailing list