ID: 31948
Comment by: mariusz at tulikowski dot eu
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've got the same problem as users above. First variable passed in
arguments section is ignored.
Previous Comments:
------------------------------------------------------------------------
[2009-06-12 09:44:45] tomasm2005 at gmail dot com
I have found a workaround for this:
You can give the parameter as
$ret = $c->__soapCall('ping', array('parameters'=>array('message' =>
'test')));
That worked for me.
------------------------------------------------------------------------
[2008-12-09 15:44:01] dontwantto at gmail dot com
I am having the same issue mentioned above.
------------------------------------------------------------------------
[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".
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31948
--
Edit this bug report at http://bugs.php.net/?id=31948&edit=1