cvs: pear /SOAP Base.php Client.php Disco.php Fault.php Server.php Value.php WSDL.php /SOAP/Transport SMTP.php
| From: | Lukas Smith | Date: | Wed, 26 Sep 2007 08:19:25 +0000 |
| Subject: | cvs: pear /SOAP Base.php Client.php Disco.php Fault.php Server.php Value.php WSDL.php /SOAP/Transport SMTP.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48685@lists.php.net to get a copy of this message | ||
lsmith Wed Sep 26 08:19:25 2007 UTC
Modified files:
/pear/SOAP WSDL.php Client.php Base.php Fault.php Value.php
Disco.php Server.php
/pear/SOAP/Transport SMTP.php
Log:
- changed setSOAPEN*Prefix() to SOAPEN*Prefix()
http://cvs.php.net/viewvc.cgi/pear/SOAP/WSDL.php?r1=1.101&r2=1.102&diff_format=u Index: pear/SOAP/WSDL.php diff -u pear/SOAP/WSDL.php:1.101 pear/SOAP/WSDL.php:1.102 --- pear/SOAP/WSDL.php:1.101 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/WSDL.php Wed Sep 26 08:19:25 2007 @@ -2020,7 +2020,7 @@ $this->wsdl->namespaces['soap'] = SCHEMA_SOAP; // WSDL SOAP bindings $this->wsdl->namespaces[$this->tnsPrefix] = 'urn:' . $service_name; // Target namespace $this->wsdl->namespaces['xsd'] = array_search('xsd', $this->_namespaces); // XML Schema - $this->wsdl->namespaces[SOAP_BASE::setSOAPENCPrefix()] = array_search(SOAP_BASE::setSOAPENCPrefix(), $this->_namespaces); // SOAP types + $this->wsdl->namespaces[SOAP_BASE::SOAPENCPrefix()] = array_search(SOAP_BASE::SOAPENCPrefix(), $this->_namespaces); // SOAP types // XXX Refactor $namespace/$ns for Shane :-) unset($this->wsdl->ns['urn:' . $service_name]); http://cvs.php.net/viewvc.cgi/pear/SOAP/Client.php?r1=1.91&r2=1.92&diff_format=u Index: pear/SOAP/Client.php diff -u pear/SOAP/Client.php:1.91 pear/SOAP/Client.php:1.92 --- pear/SOAP/Client.php:1.91 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Client.php Wed Sep 26 08:19:25 2007 @@ -802,7 +802,7 @@ } if (is_array($returnArray)) { if (isset($returnArray['faultcode']) || - isset($returnArray[SOAP_BASE::setSOAPENVPrefix().':faultcode'])) { + isset($returnArray[SOAP_BASE::SOAPENVPrefix().':faultcode'])) { $faultcode = $faultstring = $faultdetail = $faultactor = ''; foreach ($returnArray as $k => $v) { if (stristr($k, 'faultcode')) $faultcode = $v; http://cvs.php.net/viewvc.cgi/pear/SOAP/Base.php?r1=1.87&r2=1.88&diff_format=u Index: pear/SOAP/Base.php diff -u pear/SOAP/Base.php:1.87 pear/SOAP/Base.php:1.88 --- pear/SOAP/Base.php:1.87 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Base.php Wed Sep 26 08:19:25 2007 @@ -294,7 +294,7 @@ * * @return string current SOAP-ENV prefix. */ - function setSOAPENVPrefix($prefix = null) + function SOAPENVPrefix($prefix = null) { static $_soapenv_prefix; if (!is_null($prefix)) { @@ -314,7 +314,7 @@ * * @return string current SOAP-ENC prefix. */ - function setSOAPENCPrefix($prefix = null) + function SOAPENCPrefix($prefix = null) { static $_soapenv_prefix; if (!is_null($prefix)) { @@ -338,10 +338,10 @@ function _resetNamespaces() { $this->_namespaces = array( - 'http://schemas.xmlsoap.org/soap/envelope/' => SOAP_BASE::setSOAPENVPrefix(), + 'http://schemas.xmlsoap.org/soap/envelope/' => SOAP_BASE::SOAPENVPrefix(), 'http://www.w3.org/2001/XMLSchema' => 'xsd', 'http://www.w3.org/2001/XMLSchema-instance' => 'xsi', - 'http://schemas.xmlsoap.org/soap/encoding/' => SOAP_BASE::setSOAPENCPrefix()); + 'http://schemas.xmlsoap.org/soap/encoding/' => SOAP_BASE::SOAPENCPrefix()); } /** @@ -494,7 +494,7 @@ } } - $xmlout_offset = ' '.SOAP_BASE::setSOAPENCPrefix().':offset="[0]"'; + $xmlout_offset = ' '.SOAP_BASE::SOAPENCPrefix().':offset="[0]"'; if (!$arrayType) { $numtypes = count($array_types); if ($numtypes == 1) { @@ -527,7 +527,7 @@ } } - $xmlout_arrayType = ' '.SOAP_BASE::setSOAPENCPrefix().':arrayType="' . $arrayType; + $xmlout_arrayType = ' '.SOAP_BASE::SOAPENCPrefix().':arrayType="' . $arrayType; if ($array_depth != null) { for ($i = 0; $i < $array_depth; $i++) { $xmlout_arrayType .= '[]'; @@ -914,7 +914,7 @@ for ($i = 0; $i < $c; $i++) { $header_xml .= $headers[$i]->serialize($this); } - $header_xml = "<".SOAP_BASE::setSOAPENVPrefix().":Header>\r\n$header_xml\r\n</".SOAP_BASE::setSOAPENVPrefix().":Header>\r\n"; + $header_xml = "<".SOAP_BASE::SOAPENVPrefix().":Header>\r\n$header_xml\r\n</".SOAP_BASE::SOAPENVPrefix().":Header>\r\n"; } if (!isset($options['input']) || $options['input'] == 'parse') { @@ -929,7 +929,7 @@ } else { $smsg = $method; } - $body = "<".SOAP_BASE::setSOAPENVPrefix().":Body>\r\n" . $smsg . "\r\n</".SOAP_BASE::setSOAPENVPrefix().":Body>\r\n"; + $body = "<".SOAP_BASE::SOAPENVPrefix().":Body>\r\n" . $smsg . "\r\n</".SOAP_BASE::SOAPENVPrefix().":Body>\r\n"; foreach ($this->_namespaces as $k => $v) { $ns_string .= " xmlns:$v=\"$k\"\r\n"; @@ -943,10 +943,10 @@ * more granular level than we are dealing with here, so this does not * work for all services. */ $xml = "<?xml version=\"1.0\" encoding=\"$encoding\"?>\r\n\r\n". - "<".SOAP_BASE::setSOAPENVPrefix().":Envelope $ns_string". - ($this->_section5 ? ' '.SOAP_BASE::setSOAPENVPrefix().':encodingStyle="' . SOAP_SCHEMA_ENCODING . '"' : ''). + "<".SOAP_BASE::SOAPENVPrefix().":Envelope $ns_string". + ($this->_section5 ? ' '.SOAP_BASE::SOAPENVPrefix().':encodingStyle="' . SOAP_SCHEMA_ENCODING . '"' : ''). ">\r\n". - "$header_xml$body</".SOAP_BASE::setSOAPENVPrefix().":Envelope>\r\n"; + "$header_xml$body</".SOAP_BASE::SOAPENVPrefix().":Envelope>\r\n"; return $xml; } http://cvs.php.net/viewvc.cgi/pear/SOAP/Fault.php?r1=1.23&r2=1.24&diff_format=u Index: pear/SOAP/Fault.php diff -u pear/SOAP/Fault.php:1.23 pear/SOAP/Fault.php:1.24 --- pear/SOAP/Fault.php:1.23 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Fault.php Wed Sep 26 08:19:25 2007 @@ -75,7 +75,7 @@ { $msg = new SOAP_Base(); $params = array(); - $params[] = new SOAP_Value('faultcode', 'QName', SOAP_BASE::setSOAPENVPrefix().':' . $this->code); + $params[] = new SOAP_Value('faultcode', 'QName', SOAP_BASE::SOAPENVPrefix().':' . $this->code); $params[] = new SOAP_Value('faultstring', 'string', $this->message); $params[] = new SOAP_Value('faultactor', 'anyURI', $this->error_message_prefix); if (isset($this->backtrace)) { http://cvs.php.net/viewvc.cgi/pear/SOAP/Value.php?r1=1.47&r2=1.48&diff_format=u Index: pear/SOAP/Value.php diff -u pear/SOAP/Value.php:1.47 pear/SOAP/Value.php:1.48 --- pear/SOAP/Value.php:1.47 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Value.php Wed Sep 26 08:19:25 2007 @@ -158,11 +158,11 @@ parent::SOAP_Value($name, $type, $value, $attributes); if (isset($actor)) { - $this->attributes[SOAP_BASE::setSOAPENVPrefix().':actor'] = $actor; - } elseif (!isset($this->attributes[SOAP_BASE::setSOAPENVPrefix().':actor'])) { - $this->attributes[SOAP_BASE::setSOAPENVPrefix().':actor'] = 'http://schemas.xmlsoap.org/soap/actor/next'; + $this->attributes[SOAP_BASE::SOAPENVPrefix().':actor'] = $actor; + } elseif (!isset($this->attributes[SOAP_BASE::SOAPENVPrefix().':actor'])) { + $this->attributes[SOAP_BASE::SOAPENVPrefix().':actor'] = 'http://schemas.xmlsoap.org/soap/actor/next'; } - $this->attributes[SOAP_BASE::setSOAPENVPrefix().':mustUnderstand'] = (int)$mustunderstand; + $this->attributes[SOAP_BASE::SOAPENVPrefix().':mustUnderstand'] = (int)$mustunderstand; } } http://cvs.php.net/viewvc.cgi/pear/SOAP/Disco.php?r1=1.19&r2=1.20&diff_format=u Index: pear/SOAP/Disco.php diff -u pear/SOAP/Disco.php:1.19 pear/SOAP/Disco.php:1.20 --- pear/SOAP/Disco.php:1.19 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Disco.php Wed Sep 26 08:19:25 2007 @@ -90,7 +90,7 @@ $flipped = array_flip($this->soap_server->_namespaces); $this->namespaces[$this->_service_ns] = 'tns'; $this->namespaces[$flipped['xsd']] = 'xsd'; - $this->namespaces[$flipped[SOAP_BASE::setSOAPENCPrefix()]] = SOAP_BASE::setSOAPENCPrefix(); + $this->namespaces[$flipped[SOAP_BASE::SOAPENCPrefix()]] = SOAP_BASE::SOAPENCPrefix(); } // DEFINITIONS @@ -208,10 +208,10 @@ $el['attr']['type'] = $_vartypens . ':' . $_vartype; } else { $ctype['complexContent']['attr'] = ''; - $ctype['complexContent']['restriction']['attr']['base'] = SOAP_BASE::setSOAPENCPrefix().':Array'; + $ctype['complexContent']['restriction']['attr']['base'] = SOAP_BASE::SOAPENCPrefix().':Array'; foreach ($_vartype as $array_type) { list($_vartypens, $_vartype) = $this->_getTypeNs($array_type); - $ctype['complexContent']['restriction']['attribute']['attr']['ref'] = SOAP_BASE::setSOAPENCPrefix().':arrayType'; + $ctype['complexContent']['restriction']['attribute']['attr']['ref'] = SOAP_BASE::SOAPENCPrefix().':arrayType'; $ctype['complexContent']['restriction']['attribute']['attr']['wsdl:arrayType'] = $_vartypens . ':' . $_vartype . '[]'; } } http://cvs.php.net/viewvc.cgi/pear/SOAP/Server.php?r1=1.77&r2=1.78&diff_format=u Index: pear/SOAP/Server.php diff -u pear/SOAP/Server.php:1.77 pear/SOAP/Server.php:1.78 --- pear/SOAP/Server.php:1.77 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Server.php Wed Sep 26 08:19:25 2007 @@ -543,7 +543,7 @@ } if (is_array($requestArray)) { if (isset($requestArray['faultcode']) || - isset($requestArray[SOAP_BASE::setSOAPENVPrefix().':faultcode'])) { + isset($requestArray[SOAP_BASE::SOAPENVPrefix().':faultcode'])) { $faultcode = $faultstring = $faultdetail = $faultactor = ''; foreach ($requestArray as $k => $v) { if (stristr($k, 'faultcode')) { http://cvs.php.net/viewvc.cgi/pear/SOAP/Transport/SMTP.php?r1=1.29&r2=1.30&diff_format=u Index: pear/SOAP/Transport/SMTP.php diff -u pear/SOAP/Transport/SMTP.php:1.29 pear/SOAP/Transport/SMTP.php:1.30 --- pear/SOAP/Transport/SMTP.php:1.29 Tue Sep 25 21:07:01 2007 +++ pear/SOAP/Transport/SMTP.php Wed Sep 26 08:19:25 2007 @@ -151,7 +151,7 @@ if (!PEAR::isError($result)) { $val = new SOAP_Value('Message-ID', 'string', $headers['Message-ID']); } else { - $sval[] = new SOAP_Value('faultcode', 'QName', SOAP_BASE::setSOAPENVPrefix().':Client'); + $sval[] = new SOAP_Value('faultcode', 'QName', SOAP_BASE::SOAPENVPrefix().':Client'); $sval[] = new SOAP_Value('faultstring', 'string', "couldn't send SMTP message to {$this->urlparts['path']}"); $val = new SOAP_Value('Fault', 'Struct', $sval); }
http://cvs.php.net/viewvc.cgi/pear/SOAP/WSDL.php?r1=1.101&r2=1.102&diff_format=u Index: pear/SOAP/WSDL.php diff -u pear/SOAP/WSDL.php:1.101 pear/SOAP/WSDL.php:1.102 --- pear/SOAP/WSDL.php:1.101 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/WSDL.php Wed Sep 26 08:19:25 2007 @@ -2020,7 +2020,7 @@ $this->wsdl->namespaces['soap'] = SCHEMA_SOAP; // WSDL SOAP bindings $this->wsdl->namespaces[$this->tnsPrefix] = 'urn:' . $service_name; // Target namespace $this->wsdl->namespaces['xsd'] = array_search('xsd', $this->_namespaces); // XML Schema - $this->wsdl->namespaces[SOAP_BASE::setSOAPENCPrefix()] = array_search(SOAP_BASE::setSOAPENCPrefix(), $this->_namespaces); // SOAP types + $this->wsdl->namespaces[SOAP_BASE::SOAPENCPrefix()] = array_search(SOAP_BASE::SOAPENCPrefix(), $this->_namespaces); // SOAP types // XXX Refactor $namespace/$ns for Shane :-) unset($this->wsdl->ns['urn:' . $service_name]); http://cvs.php.net/viewvc.cgi/pear/SOAP/Client.php?r1=1.91&r2=1.92&diff_format=u Index: pear/SOAP/Client.php diff -u pear/SOAP/Client.php:1.91 pear/SOAP/Client.php:1.92 --- pear/SOAP/Client.php:1.91 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Client.php Wed Sep 26 08:19:25 2007 @@ -802,7 +802,7 @@ } if (is_array($returnArray)) { if (isset($returnArray['faultcode']) || - isset($returnArray[SOAP_BASE::setSOAPENVPrefix().':faultcode'])) { + isset($returnArray[SOAP_BASE::SOAPENVPrefix().':faultcode'])) { $faultcode = $faultstring = $faultdetail = $faultactor = ''; foreach ($returnArray as $k => $v) { if (stristr($k, 'faultcode')) $faultcode = $v; http://cvs.php.net/viewvc.cgi/pear/SOAP/Base.php?r1=1.87&r2=1.88&diff_format=u Index: pear/SOAP/Base.php diff -u pear/SOAP/Base.php:1.87 pear/SOAP/Base.php:1.88 --- pear/SOAP/Base.php:1.87 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Base.php Wed Sep 26 08:19:25 2007 @@ -294,7 +294,7 @@ * * @return string current SOAP-ENV prefix. */ - function setSOAPENVPrefix($prefix = null) + function SOAPENVPrefix($prefix = null) { static $_soapenv_prefix; if (!is_null($prefix)) { @@ -314,7 +314,7 @@ * * @return string current SOAP-ENC prefix. */ - function setSOAPENCPrefix($prefix = null) + function SOAPENCPrefix($prefix = null) { static $_soapenv_prefix; if (!is_null($prefix)) { @@ -338,10 +338,10 @@ function _resetNamespaces() { $this->_namespaces = array( - 'http://schemas.xmlsoap.org/soap/envelope/' => SOAP_BASE::setSOAPENVPrefix(), + 'http://schemas.xmlsoap.org/soap/envelope/' => SOAP_BASE::SOAPENVPrefix(), 'http://www.w3.org/2001/XMLSchema' => 'xsd', 'http://www.w3.org/2001/XMLSchema-instance' => 'xsi', - 'http://schemas.xmlsoap.org/soap/encoding/' => SOAP_BASE::setSOAPENCPrefix()); + 'http://schemas.xmlsoap.org/soap/encoding/' => SOAP_BASE::SOAPENCPrefix()); } /** @@ -494,7 +494,7 @@ } } - $xmlout_offset = ' '.SOAP_BASE::setSOAPENCPrefix().':offset="[0]"'; + $xmlout_offset = ' '.SOAP_BASE::SOAPENCPrefix().':offset="[0]"'; if (!$arrayType) { $numtypes = count($array_types); if ($numtypes == 1) { @@ -527,7 +527,7 @@ } } - $xmlout_arrayType = ' '.SOAP_BASE::setSOAPENCPrefix().':arrayType="' . $arrayType; + $xmlout_arrayType = ' '.SOAP_BASE::SOAPENCPrefix().':arrayType="' . $arrayType; if ($array_depth != null) { for ($i = 0; $i < $array_depth; $i++) { $xmlout_arrayType .= '[]'; @@ -914,7 +914,7 @@ for ($i = 0; $i < $c; $i++) { $header_xml .= $headers[$i]->serialize($this); } - $header_xml = "<".SOAP_BASE::setSOAPENVPrefix().":Header>\r\n$header_xml\r\n</".SOAP_BASE::setSOAPENVPrefix().":Header>\r\n"; + $header_xml = "<".SOAP_BASE::SOAPENVPrefix().":Header>\r\n$header_xml\r\n</".SOAP_BASE::SOAPENVPrefix().":Header>\r\n"; } if (!isset($options['input']) || $options['input'] == 'parse') { @@ -929,7 +929,7 @@ } else { $smsg = $method; } - $body = "<".SOAP_BASE::setSOAPENVPrefix().":Body>\r\n" . $smsg . "\r\n</".SOAP_BASE::setSOAPENVPrefix().":Body>\r\n"; + $body = "<".SOAP_BASE::SOAPENVPrefix().":Body>\r\n" . $smsg . "\r\n</".SOAP_BASE::SOAPENVPrefix().":Body>\r\n"; foreach ($this->_namespaces as $k => $v) { $ns_string .= " xmlns:$v=\"$k\"\r\n"; @@ -943,10 +943,10 @@ * more granular level than we are dealing with here, so this does not * work for all services. */ $xml = "<?xml version=\"1.0\" encoding=\"$encoding\"?>\r\n\r\n". - "<".SOAP_BASE::setSOAPENVPrefix().":Envelope $ns_string". - ($this->_section5 ? ' '.SOAP_BASE::setSOAPENVPrefix().':encodingStyle="' . SOAP_SCHEMA_ENCODING . '"' : ''). + "<".SOAP_BASE::SOAPENVPrefix().":Envelope $ns_string". + ($this->_section5 ? ' '.SOAP_BASE::SOAPENVPrefix().':encodingStyle="' . SOAP_SCHEMA_ENCODING . '"' : ''). ">\r\n". - "$header_xml$body</".SOAP_BASE::setSOAPENVPrefix().":Envelope>\r\n"; + "$header_xml$body</".SOAP_BASE::SOAPENVPrefix().":Envelope>\r\n"; return $xml; } http://cvs.php.net/viewvc.cgi/pear/SOAP/Fault.php?r1=1.23&r2=1.24&diff_format=u Index: pear/SOAP/Fault.php diff -u pear/SOAP/Fault.php:1.23 pear/SOAP/Fault.php:1.24 --- pear/SOAP/Fault.php:1.23 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Fault.php Wed Sep 26 08:19:25 2007 @@ -75,7 +75,7 @@ { $msg = new SOAP_Base(); $params = array(); - $params[] = new SOAP_Value('faultcode', 'QName', SOAP_BASE::setSOAPENVPrefix().':' . $this->code); + $params[] = new SOAP_Value('faultcode', 'QName', SOAP_BASE::SOAPENVPrefix().':' . $this->code); $params[] = new SOAP_Value('faultstring', 'string', $this->message); $params[] = new SOAP_Value('faultactor', 'anyURI', $this->error_message_prefix); if (isset($this->backtrace)) { http://cvs.php.net/viewvc.cgi/pear/SOAP/Value.php?r1=1.47&r2=1.48&diff_format=u Index: pear/SOAP/Value.php diff -u pear/SOAP/Value.php:1.47 pear/SOAP/Value.php:1.48 --- pear/SOAP/Value.php:1.47 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Value.php Wed Sep 26 08:19:25 2007 @@ -158,11 +158,11 @@ parent::SOAP_Value($name, $type, $value, $attributes); if (isset($actor)) { - $this->attributes[SOAP_BASE::setSOAPENVPrefix().':actor'] = $actor; - } elseif (!isset($this->attributes[SOAP_BASE::setSOAPENVPrefix().':actor'])) { - $this->attributes[SOAP_BASE::setSOAPENVPrefix().':actor'] = 'http://schemas.xmlsoap.org/soap/actor/next'; + $this->attributes[SOAP_BASE::SOAPENVPrefix().':actor'] = $actor; + } elseif (!isset($this->attributes[SOAP_BASE::SOAPENVPrefix().':actor'])) { + $this->attributes[SOAP_BASE::SOAPENVPrefix().':actor'] = 'http://schemas.xmlsoap.org/soap/actor/next'; } - $this->attributes[SOAP_BASE::setSOAPENVPrefix().':mustUnderstand'] = (int)$mustunderstand; + $this->attributes[SOAP_BASE::SOAPENVPrefix().':mustUnderstand'] = (int)$mustunderstand; } } http://cvs.php.net/viewvc.cgi/pear/SOAP/Disco.php?r1=1.19&r2=1.20&diff_format=u Index: pear/SOAP/Disco.php diff -u pear/SOAP/Disco.php:1.19 pear/SOAP/Disco.php:1.20 --- pear/SOAP/Disco.php:1.19 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Disco.php Wed Sep 26 08:19:25 2007 @@ -90,7 +90,7 @@ $flipped = array_flip($this->soap_server->_namespaces); $this->namespaces[$this->_service_ns] = 'tns'; $this->namespaces[$flipped['xsd']] = 'xsd'; - $this->namespaces[$flipped[SOAP_BASE::setSOAPENCPrefix()]] = SOAP_BASE::setSOAPENCPrefix(); + $this->namespaces[$flipped[SOAP_BASE::SOAPENCPrefix()]] = SOAP_BASE::SOAPENCPrefix(); } // DEFINITIONS @@ -208,10 +208,10 @@ $el['attr']['type'] = $_vartypens . ':' . $_vartype; } else { $ctype['complexContent']['attr'] = ''; - $ctype['complexContent']['restriction']['attr']['base'] = SOAP_BASE::setSOAPENCPrefix().':Array'; + $ctype['complexContent']['restriction']['attr']['base'] = SOAP_BASE::SOAPENCPrefix().':Array'; foreach ($_vartype as $array_type) { list($_vartypens, $_vartype) = $this->_getTypeNs($array_type); - $ctype['complexContent']['restriction']['attribute']['attr']['ref'] = SOAP_BASE::setSOAPENCPrefix().':arrayType'; + $ctype['complexContent']['restriction']['attribute']['attr']['ref'] = SOAP_BASE::SOAPENCPrefix().':arrayType'; $ctype['complexContent']['restriction']['attribute']['attr']['wsdl:arrayType'] = $_vartypens . ':' . $_vartype . '[]'; } } http://cvs.php.net/viewvc.cgi/pear/SOAP/Server.php?r1=1.77&r2=1.78&diff_format=u Index: pear/SOAP/Server.php diff -u pear/SOAP/Server.php:1.77 pear/SOAP/Server.php:1.78 --- pear/SOAP/Server.php:1.77 Tue Sep 25 21:07:00 2007 +++ pear/SOAP/Server.php Wed Sep 26 08:19:25 2007 @@ -543,7 +543,7 @@ } if (is_array($requestArray)) { if (isset($requestArray['faultcode']) || - isset($requestArray[SOAP_BASE::setSOAPENVPrefix().':faultcode'])) { + isset($requestArray[SOAP_BASE::SOAPENVPrefix().':faultcode'])) { $faultcode = $faultstring = $faultdetail = $faultactor = ''; foreach ($requestArray as $k => $v) { if (stristr($k, 'faultcode')) { http://cvs.php.net/viewvc.cgi/pear/SOAP/Transport/SMTP.php?r1=1.29&r2=1.30&diff_format=u Index: pear/SOAP/Transport/SMTP.php diff -u pear/SOAP/Transport/SMTP.php:1.29 pear/SOAP/Transport/SMTP.php:1.30 --- pear/SOAP/Transport/SMTP.php:1.29 Tue Sep 25 21:07:01 2007 +++ pear/SOAP/Transport/SMTP.php Wed Sep 26 08:19:25 2007 @@ -151,7 +151,7 @@ if (!PEAR::isError($result)) { $val = new SOAP_Value('Message-ID', 'string', $headers['Message-ID']); } else { - $sval[] = new SOAP_Value('faultcode', 'QName', SOAP_BASE::setSOAPENVPrefix().':Client'); + $sval[] = new SOAP_Value('faultcode', 'QName', SOAP_BASE::SOAPENVPrefix().':Client'); $sval[] = new SOAP_Value('faultstring', 'string', "couldn't send SMTP message to {$this->urlparts['path']}"); $val = new SOAP_Value('Fault', 'Struct', $sval); }