Monday 02 June 2003 7:05:58 pm - 4 replies
Bård Farstad
Tuesday 03 June 2003 12:58:23 am
Actually the SOAP faults only work on internal error messages for now. eZ soap does not yet support sending custom faults.
Faults is designed to send error messages like you describe.
I'm working on the SOAP interface now and it will be continually improved.
I think the system should generate a fault if you return an eZSOAPFault object from the function.
-bård
Documentation: http://ez.no/doc
Tuesday 03 June 2003 2:32:55 am
I just commited support for SOAP faults ( revision nr 2634 ).
You can now do: function addNumbers( $valueA, $valueB ) { if ( $valueA == 42 ) return new eZSOAPFault( "Server Error", "This does not work like expected" );
$return = $valueA + $valueB; settype( $return, "integer" ); return $return;}
--bård
Björn Dieding@xrow.de
Tuesday 03 June 2003 3:00:12 am
I thought so too that this should be the way how it should work. Thanks for the update. I will get the lastest revision from SVN now.
Brad you are da man :-)
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs Looking for hosting? http://hostingezpublish.com ----------------------------------------------------------------------------- GMT +01:00 Hannover, Germany Web: http://www.xrow.com/
Tuesday 03 June 2003 3:40:46 am
Yes definitly works
look that this beautiful error message..
SOAP fault: Server Error - Can't read from Client. HOST: 192.168.0.1 PORT: 8080
THX again
You must be logged in to post messages in this topic!