Edit report at http://bugs.php.net/bug.php?id=47934&edit=1
ID: 47934 Comment by: will at phpfever dot com Reported by: funky2step at gmail dot com Summary: SOAP server ignores enumeration restrictions in WSDL Status: Open Type: Bug Package: SOAP related Operating System: RHEL 5.3 PHP Version: 5.2.9 Block user comment: N Private report: N New Comment: Can you provide your WSDL with the definitions themselves? Previous Comments: ------------------------------------------------------------------------ [2009-04-09 09:36:51] funky2step at gmail dot com 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 this bug report at http://bugs.php.net/bug.php?id=47934&edit=1