SOAP: The Power Of Simplicity |
O'Reilly P2P Conference 2001 |
||
Copyright (C) 2001 Paul Kulchenko, Tony Hong |
SOAP has it's own fault mechanism using a standard SOAP fault XML envelope.
die is used to return fault on server side:
|
For better control over Fault properties (such as faultcode, faultstring and detail),
die with SOAP::Fault as a parameter can be used:
|