From:             giunta dot gaetano at gmail dot com
Operating system: winxp
PHP version:      5.2.9
PHP Bug Type:     SOAP related
Bug description:  soapclient's option connection_timeout not respected while 
fetching wsdl

Description:
------------
The socket timeout option for soap clients is only respected when
executing calls, but not when fetching the wsdl itself.
This makes it quite hard to use remote wsdl files and provide to the end
user an interface with a definite timeout (eg. 5 secs).
Current code does not seem to use the timeout value in c function get_sdl
in php_sdl.c

Reproduce code:
---------------
create a soap client pointing to a wsdl on an inexisting server
set connection_timeout option to 5 in client constructor


Expected result:
----------------
error msg after 5 secs

Actual result:
--------------
error msg after 1 min

-- 
Edit bug report at http://bugs.php.net/?id=48584&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48584&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48584&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48584&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48584&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48584&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48584&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48584&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48584&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48584&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48584&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48584&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48584&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48584&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48584&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48584&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48584&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48584&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48584&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48584&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48584&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48584&r=mysqlcfg

Reply via email to