[Twisted-Python] Re: Raise soap faults
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.
On Fri, 15 Apr 2005 13:26:39 -0500, Charles Moad <cmoad@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.
participants (2)
-
Charles Moad
-
Eric Mangold