ID:               31948
 Comment by:       tomasm2005 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 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.


Previous Comments:
------------------------------------------------------------------------

[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".

------------------------------------------------------------------------

[2005-02-21 23:20:36] tony2...@php.net

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.

------------------------------------------------------------------------

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

Reply via email to