From: ryanmhuc at yahoo dot com Operating system: Windows XP PHP version: 5.2.5 PHP Bug Type: SOAP related Bug description: Fatal error using SOAP Extension
Description: ------------ I recieve the following error: Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: Violation of encoding rules in When using the SOAP extension & WSDL on Windows XP w/ Apache 2.2 on PHP 5.2.5. This only occurs on types of requests. Others run successfully. I don't know but i suspect that a certain type of character(s) in the response is causing an issue for the SOAP extension in Windows. The same exact code, WSDL file runs on Linux without a problem. The API URL is https so is is possible the problem could lie there. Reproduce code: --------------- The WSDL file is too long to post here. I would also have to provide the API files and a login to duplicate. But i will do so if you contact me. Expected result: ---------------- I would expect to be returned a stdClass object. Actual result: -------------- Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: Violation of encoding rules in E:\Web\imagepath.net\intranet\lib\Attask\Attask.php:180 Stack trace: #0 [internal function]: SoapClient->__call('getTemplateTask...', Array) #1 [internal function]: SoapClient->getTemplateTasksByTemplateID('213110666430904...', 4085) #2 E:\Web\imagepath.net\intranet\lib\Attask\Attask.php(180): call_user_func_array(Array, Array) #3 [internal function]: Attask->__call('getTemplateTask...', Array) #4 E:\Web\imagepath.net\intranet\lib\Attask\TemplateBean.php(55): Attask->getTemplateTasksByTemplateID(4085) #5 E:\Web\imagepath.net\intranet\lib\Attask\TemplateBean.php(18): TemplateBean->getTasks() #6 E:\Web\imagepath.net\intranet\attask\template_importer.php(149): TemplateBean->deleteTasks() #7 {main} thrown in -- Edit bug report at http://bugs.php.net/?id=44363&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44363&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44363&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44363&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44363&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44363&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44363&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44363&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44363&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44363&r=support Expected behavior: http://bugs.php.net/fix.php?id=44363&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44363&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44363&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44363&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44363&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44363&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44363&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44363&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44363&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44363&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44363&r=mysqlcfg