[Soap-Python] Stop method processing via method_call event

azurIt azurit at pobox.sk
Fri Sep 30 17:37:41 CEST 2011


Because it will return soap fault, i need to return correct soap response.


______________________________________________________________
> Od: "Burak Arslan" <burak.arslan at arskom.com.tr>
> Komu: azurIt <azurit at pobox.sk>
> Dátum: 30.09.2011 17:33
> Predmet: Re: [Soap-Python] Stop method processing via method_call event
>
> CC: soap at python.org
>On 30.09.2011 18:26, azurIt wrote:
>> Hi,
>>
>> is it somehow possible to stop method processing inside method_call event ? For example, i'm doing authentication of users in method_call event and, in case user cannot be verified, i don't want to process the method and return custom object instead (for example, return {"state": "no_permission"} ). Thnx.
>>
>>
>
>and raising an exception does not work because?
>


More information about the Soap mailing list