RE: extending SoapFault

From: Date: Sat, 11 Mar 2006 17:24:22 +0000
Subject: RE: extending SoapFault
References: 1 2  Groups: php.soap 
Request: Send a blank email to php-soap+get-2148@lists.php.net to get a copy of this message
Hello, Thanks for responses. I think I messed it all a bit. After Dmitry response I looked deeper into my implementation and what I really was trying to do was making my own exceptions (extending Exception class) and catching them as SoapFaults. That is of course wrong. When I changed it as subclass of SoapFault all works properly and I don't have to make any changes in wsdl. But anyway, is there some way to make your own fault types (which are thrown by SoapClent for ex.), describe them in wsdl; <wsdl:fault> element and serve them properly? -- View this message in context: http://www.nabble.com/extending-SoapFault-t1229206.html#a3356495 Sent from the Php - Soap forum at Nabble.com.

« previous php.soap (#2148) next »