Changeset 1129

Show
Ignore:
Timestamp:
10/18/08 00:56:55 (3 months ago)
Author:
laurentj
Message:

ticket #705: fixed bug on soap support with eaccelerator. p=sylvain261

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix-modules/CREDITS

    r591 r1129  
    2424    bug fix 
    2525 
     26* Sylvain de Vathaire (sylvain261) 
     27   jWSDL module (#377) 
  • trunk/lib/jelix-modules/jWSDL/locales/en_EN/errors.UTF-8.properties

    r879 r1129  
    33service.param.required=(115)Service name is required 
    44wsdl.generation=(116)Error during WSDL generation : %s 
     5eaccelerator.configuration=(117)SOAP Jelix support requires to compile eAccelerator with the --with-eaccelerator-doc-comment-inclusion flag or to disable it. 
  • trunk/lib/jelix-modules/jWSDL/locales/en_US/errors.UTF-8.properties

    r879 r1129  
    33service.param.required=(115)Service name is required 
    44wsdl.generation=(116)Error during WSDL generation : %s 
     5eaccelerator.configuration=(117)SOAP Jelix support requires to compile eAccelerator with the --with-eaccelerator-doc-comment-inclusion flag or to disable it. 
  • trunk/lib/jelix-modules/jWSDL/locales/fr_FR/errors.UTF-8.properties

    r879 r1129  
    33service.param.required=(115)Nom de service requis 
    44wsdl.generation=(116)Erreur durant la génération du WSDL : %s 
     5eaccelerator.configuration=(117)Le support SOAP de Jelix nécessite que eAccelerator soit désactivé ou compilé avec l'option --with-eaccelerator-doc-comment-inclusion. 
  • trunk/lib/jelix/utils/jWSDL.class.php

    r879 r1129  
    9191        if(!class_exists($this->controllerClassName,false)){ 
    9292            throw new jException('jelix~errors.ad.controller.class.unknow', array('jWSDL', $this->controllerClassName, $this->_ctrlpath)); 
     93        } 
     94 
     95        //Check eAccelerator configuration in order to Reflexion API work 
     96        if (extension_loaded('eAccelerator')) { 
     97            $reflect = new ReflectionClass('jWSDL'); 
     98            if($reflect->getDocComment() == NULL) { 
     99                throw new jException('jWSDL~errors.eaccelerator.configuration'); 
     100            } 
     101            unset($reflect); 
    93102        } 
    94103 
Download in other formats: Unified Diff Zip Archive