phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] api/interface/class.interface_soap.php, 1.1.2.6


From: nomail
Subject: [Phpgroupware-cvs] api/interface/class.interface_soap.php, 1.1.2.6
Date: Fri, 9 Jul 2004 16:49:26 +0200

Update of /api/interface
Modified Files:
        Branch: proposal-branch
          class.interface_soap.php

date: 2004/07/09 14:49:26;  author: dcech;  state: Exp;  lines: +7 -2

Log Message:
Improved login checking routines - this still needs better error reporting
Added support for applications returning errors to browser and SOAP interfaces
Added start and error functions to qa class
=====================================================================
Index: api/interface/class.interface_soap.php
diff -u api/interface/class.interface_soap.php:1.1.2.5 
api/interface/class.interface_soap.php:1.1.2.6
--- api/interface/class.interface_soap.php:1.1.2.5      Fri Apr 16 20:59:49 2004
+++ api/interface/class.interface_soap.php      Fri Jul  9 14:49:26 2004
@@ -144,6 +144,11 @@
                                        return $this->system_methodHelp();
                        }
                        
+                       if(is_error($this->method_result))
+                       {
+                               return 
$this->soap_fault($this->method_result->errno,$this->method_result->message);
+                       }
+                       
                        if(empty($this->method_result))
                        {
                                $xml_result =  
$GLOBALS['phpgw']->base_xml->export_xml();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]