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


_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to