[Soap-Python] Stop method processing via method_call event
Burak Arslan
burak.arslan at arskom.com.tr
Fri Sep 30 17:52:22 CEST 2011
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