Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.14.0

Doc Bug #10265 Undocumented Change in Attachments
Submitted: 2007-03-05 15:02 UTC
From: moshea Assigned:
Status: Wont fix Package: SOAP (version 0.10.1)
PHP Version: 4.4.5 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2007-03-05 15:02 UTC] moshea (Moshe Alfih)
Description: ------------ I have found that the change log does not note that __attachments has been deprecated in favor of _soap_transport->attachments. This has caused me some grief till I found that the following two lines have been removed from Client.php (line 337-338 in v0.9.4): $this->__attachments =& $this->_soap_transport->attachments; $this->__result_encoding = $this->_soap_transport->result_encoding; I assume the same is true of __result_encoding being deprecated in favor of _soap_transport->result_encoding; Please update the change log to note this change. Test script: --------------- $this->client = new SOAP_Client(WSDLPATH, true, false, $proxy); $Result = $this->client->call('getDocument', $params, $options); var_dump($this->client->__attachments)) Expected result: ---------------- I'd expect to get the array of attachments passed back by this SOAP service.

Comments

 [2007-04-11 04:58 UTC] cweiske (Christian Weiske)
Variables and methods prefixed with an underscore "_" are protected/private and should not be used from outside anyway. Changes in inner workings don't need to be documented.
 [2009-04-14 23:46 UTC] moshea (Moshe A)
-: moshea@zreiss.com +: pear at microalps dot com