ID: 40609 Updated by: [EMAIL PROTECTED] Reported By: robin dot harvey at chaptereight dot com -Status: Open +Status: Feedback Bug Type: SOAP related Operating System: Linux - Ubuntu PHP Version: 5.2.1 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. An accessible WSDL might also be helpful Previous Comments: ------------------------------------------------------------------------ [2007-02-23 17:12:38] robin dot harvey at chaptereight dot com Description: ------------ I've got a very simple soap service (written in Java/Tomcat/Axis) which simply accepts and logs the XML of a soap request. I need to post complex XML to the server (an XSL stylesheet) and I'm using SoapVar with XSD_ANYXML and dealing with the XSL as a string in PHP. When I try to add more than one SoapVar object encoded in this way, PHP segfaults. It's happy with 1 param as a SoapVar, and with both as simple strings. Reproduce code: --------------- <?php $s = new SoapClient('http://192.168.1.79:8080/axis2/services/BuddyTestService?wsdl'); $data1 = <<<XML <meta> <properties> <of>the transform go here!</of> </properties> </meta> XML; $data2 = <<<XML <more> <nice>Random content</nice> <being>sent to the soap server</being> </more> XML; $tdata = new SoapVar($data1, XSD_ANYXML); $t = new SoapVar($data2, XSD_ANYXML); $data = array('TransformData' => $tdata, 'Transform' => $t); //$data = array('TransformData' => 'foo', 'Transform' => 'bar'); $s->examine($data); ?> Expected result: ---------------- NULL. The service is 'In only' Actual result: -------------- [EMAIL PROTECTED]:~/projects/buddy/tomcat/soap2$ php test-client-joe.php Segmentation fault (core dumped) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40609&edit=1