[Twisted-Python] Re: Raise soap faults

Eric Mangold teratorn at twistedmatrix.com
Fri Apr 15 16:07:46 EDT 2005


On Fri, 15 Apr 2005 13:26:39 -0500, Charles Moad <cmoad at indiana.edu> wrote:

>> Though on the client side it still won't raise an exception, but you  
>> will
>> hopefully get your faultType instance. You may check for it explicitly  
>> and
>> raise it, if you like.
>
> When a soap fault is returned the http return code is 500, so the client
> does actually see this and raise an exception.  You do not have to
> explicitly check if it was a fault after ever call to the service.

Ah, yes. I was only looking at the soap code and it didn't occur to me  
that it would be a 500 status.




More information about the Twisted-Python mailing list