user query: SOAP Error handling

From: Date: Mon, 27 May 2002 10:44:20 +0000
Subject: user query: SOAP Error handling
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-17@lists.php.net to get a copy of this message
Hello, Is this group a development group, or are end-user questions also welcome here? I need to find out what is the preferred way of doing error handling if the function i am calling generates an error. Should i be generating a soap fault, or roll my own error handling. Currently i am returning an array like this from my server function: return array($returnvalue, $error); and checking the $error element of the array in my soap client. Thanks again, John

« previous php.soap (#17) next »