From:             funky2step at gmail dot com
Operating system: RHEL 5.3
PHP version:      5.2.9
PHP Bug Type:     SOAP related
Bug description:  SOAP server ignores enumeration restrictions in WSDL

Description:
------------
The WSDL types section contains a simpleType with restriction block and
several enumerations.
When a request is made however, these enumerations are ignored and any
value is allowed to be passed.

Reproduce code:
---------------
http://pastebin.com/f6a307852

The fetch_type element is the one causing problems.

Expected result:
----------------
Expect a SOAP error when data type is not one of the enumerations.

Actual result:
--------------
Server produces valid response no matter what the data value is for the
fetch_type element.

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

Reply via email to