[Soap-Python] Stop method processing via method_call event
azurIt
azurit at pobox.sk
Fri Sep 30 18:03:08 CEST 2011
thnx, will try it
azur
______________________________________________________________
> Od: "Burak Arslan" <burak.arslan at arskom.com.tr>
> Komu: azurIt <azurit at pobox.sk>
> Dátum: 30.09.2011 17:52
> Predmet: Re: [Soap-Python] Stop method processing via method_call event
>
> CC: soap at python.org
>On 30.09.2011 18:37, azurIt wrote:
>> Because it will return soap fault, i need to return correct soap response.
>>
>>
>
>I'd argue strongly that an authentication error is a legitimate use-case
>for a fault. But then it's not my really place to say that.
>
>Anyway, you can set ctx.descriptor.function in the event to whatever you
>want. normally it's set to the function decorated by @rpc.
>
>also set the ctx.in_object to the argument array to the function. look
>at ServiceBase.call_wrapper source.
>
>burak
>
>
>
More information about the Soap
mailing list