Ignore:
Timestamp:
2011/10/25 00:02:55 (15 years ago)
Author:
Seasoft
Message:

#1521 (PEAR::SOAP 配布と異なる部分がある)

  • 新しいバージョンの配布ファイルを上書きすることで解決

#1522 (PEAR::SOAP をバージョンアップ)

  • 0.11.0 -> 0.12.0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/module/SOAP/Disco.php

    r20119 r21299  
    2323 */ 
    2424 
     25/** SOAP_Base */ 
    2526require_once 'SOAP/Base.php'; 
    2627 
     28/** 
     29 * @package SOAP 
     30 */ 
    2731class SOAP_DISCO_Server extends SOAP_Base_Object { 
    2832 
     
    9195            $this->namespaces[$this->_service_ns] = 'tns'; 
    9296            $this->namespaces[$flipped['xsd']] = 'xsd'; 
    93             $this->namespaces[$flipped['SOAP-ENC']] = 'SOAP-ENC'; 
     97            $this->namespaces[$flipped[SOAP_BASE::SOAPENCPrefix()]] = SOAP_BASE::SOAPENCPrefix(); 
    9498        } 
    9599 
     
    209213                    } else { 
    210214                        $ctype['complexContent']['attr'] = ''; 
    211                         $ctype['complexContent']['restriction']['attr']['base'] = 'SOAP-ENC:Array'; 
     215                        $ctype['complexContent']['restriction']['attr']['base'] = SOAP_BASE::SOAPENCPrefix().':Array'; 
    212216                        foreach ($_vartype as $array_type) { 
    213217                            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'; 
    215219                            $ctype['complexContent']['restriction']['attribute']['attr']['wsdl:arrayType'] = $_vartypens . ':' . $_vartype . '[]'; 
    216220                        } 
Note: See TracChangeset for help on using the changeset viewer.