Changeset 21299 for branches/version-2_11-dev/data/module/SOAP/Disco.php
- Timestamp:
- 2011/10/25 00:02:55 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/module/SOAP/Disco.php
r20119 r21299 23 23 */ 24 24 25 /** SOAP_Base */ 25 26 require_once 'SOAP/Base.php'; 26 27 28 /** 29 * @package SOAP 30 */ 27 31 class SOAP_DISCO_Server extends SOAP_Base_Object { 28 32 … … 91 95 $this->namespaces[$this->_service_ns] = 'tns'; 92 96 $this->namespaces[$flipped['xsd']] = 'xsd'; 93 $this->namespaces[$flipped[ 'SOAP-ENC']] = 'SOAP-ENC';97 $this->namespaces[$flipped[SOAP_BASE::SOAPENCPrefix()]] = SOAP_BASE::SOAPENCPrefix(); 94 98 } 95 99 … … 209 213 } else { 210 214 $ctype['complexContent']['attr'] = ''; 211 $ctype['complexContent']['restriction']['attr']['base'] = 'SOAP-ENC:Array';215 $ctype['complexContent']['restriction']['attr']['base'] = SOAP_BASE::SOAPENCPrefix().':Array'; 212 216 foreach ($_vartype as $array_type) { 213 217 list($_vartypens, $_vartype) = $this->_getTypeNs($array_type); 214 $ctype['complexContent']['restriction']['attribute']['attr']['ref'] = 'SOAP-ENC:arrayType';218 $ctype['complexContent']['restriction']['attribute']['attr']['ref'] = SOAP_BASE::SOAPENCPrefix().':arrayType'; 215 219 $ctype['complexContent']['restriction']['attribute']['attr']['wsdl:arrayType'] = $_vartypens . ':' . $_vartype . '[]'; 216 220 }
Note: See TracChangeset
for help on using the changeset viewer.
