A bugbear in using OpenLaszlo SOAP is the 30 seconds timeout.

In OpenLaszlo 3.3.3, would it be possible to cache the *.wsdl as in PHP5 SOAP ..

http://devzone.zend.com/node/view/id/689#Heading5

If not, how to increase the SOAP timeout?

This handler in SOAP does not work .

         <handler name="oninit">
         LzSOAPService.__LzLoader.timeout = 60000;
        </handler>

DL

________________________________________________________________________

    What are the problems with WSDL? The only argument against using it is that 
    the client has to load the relevant WSDL document from the server before 
the 
    RPC can be made, and this can take a significant amount of time in a Web 
    environment. In order to speed things up, PHP's ext/soap uses a WSDL 
caching 
    feature that can be controlled through setting the soap.wsdl_cache_enabled, 
    soap.wsdl_cache_dir and soap.wsdl_cache_ttl configuration directives, 
either in your 
    php.ini or by using ini_set()(see Example 4 ). By default, WSDL caching is 
turned on 
    and caches WSDL files for one day.

    Here is the SOAP section for php.ini with default values. You can paste it 
into your 
    php.ini.


    [soap]

    soap.wsdl_cache_enabled = "1"
    ; enables or disables WSDL caching feature

    soap.wsdl_cache_dir = "/tmp"
    ; sets the directory name where SOAP extension will put cache files

    soap.wsdl_cache_ttl = "86400"
    ; (time to live) sets the number of second while cached file will be used
    ; instead of original one 

________________________________________________________________________


Reply via email to