note 84426 added to function.soap-soapfault-construct

From: Date: Mon, 14 Jul 2008 07:10:51 +0000
Subject: note 84426 added to function.soap-soapfault-construct
Groups: php.notes 
Request: Send a blank email to php-notes+get-141464@lists.php.net to get a copy of this message
There are only a few legitimate "codes" that a SOAP fault can have and be understood by most clients in accordance with the protocol. You can't just pass in, for example, a database error code or you'll get a fatal error like "SoapFault::__construct(): Invalid parameters. Invalid fault code." The ones you generally want to use are "Sender" where you've gotten bad parameters, or "Receiver" where the server has gotten an error for some reason. See here: http://www.w3.org/TR/soap12-part1/#faultcodes ---- Server IP: 69.147.83.197 Probable Submitter: 203.55.29.231 ---- Manual Page -- http://www.php.net/manual/en/function.soap-soapfault-construct.php Edit -- https://master.php.net/note/edit/84426 Del: integrated -- https://master.php.net/note/delete/84426/integrated Del: useless -- https://master.php.net/note/delete/84426/useless Del: bad code -- https://master.php.net/note/delete/84426/bad+code Del: spam -- https://master.php.net/note/delete/84426/spam Del: non-english -- https://master.php.net/note/delete/84426/non-english Del: in docs -- https://master.php.net/note/delete/84426/in+docs Del: other reasons-- https://master.php.net/note/delete/84426 Reject -- https://master.php.net/note/reject/84426 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141464) next »