ID: 31948 Comment by: dontwantto at gmail dot com Reported By: wico at cnh dot nl Status: No Feedback Bug Type: SOAP related Operating System: debian (dotdeb php5) PHP Version: 5.0.3 New Comment:
I am having the same issue mentioned above. Previous Comments: ------------------------------------------------------------------------ [2007-06-28 09:38:06] s dot rabot at agematis dot com I have the same problem that "dolecek at stringdata dot cz", the first occurence of the array given as parameter of the Soapcall method isn't send in the request. ------------------------------------------------------------------------ [2005-06-15 14:43:09] dolecek at stringdata dot cz I have very similar problem, using WSDL mode and document/literal. I have a method 'ping' with single parameter 'message', called like this : $c = new SoapClient('my.wsdl'); $ret = $c->__soapCall('ping', array('message' => 'test')); This sends to server this SOAP message: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:EARCHIV"><SOAP-ENV:Body><ns1:ping/></SOAP-ENV:Body></SOAP-ENV:Envelope> Note the 'message' parameter is completely ignored and not included in the output. Using $c->ping(array('message' => 'test')) works, but I need __soapCall() in order to be able to send request headers. I can provide the WSDL file upon request. ------------------------------------------------------------------------ [2005-03-01 01:00:48] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2005-02-21 23:20:36] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Please supply *complete* reproduce code and don't forget about expected & actual results. ------------------------------------------------------------------------ [2005-02-13 02:41:32] wico at cnh dot nl Description: ------------ $data = new soapParam('test1', 'data1'); $data = new soapParam('test2', 'data2'); $data = new soapParam('test3', 'data3'); // works correctly: $soap->function($data); // outputs: <function> <test1>data</test1> <test2>data</test2> <test3>data</test3> </function> // produces wrong output $soap->__call('function', $data); $soap->__soapCall('function', $data); // outputs: <function /> <test2>data</test2> <test3>data</test3> in short it closes the function tag right away but continues with putting the arguments in the xml (after removing the first argument) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31948&edit=1