#28239 [Opn->Csd]: No results returned on SOAP call, no error given
ID: 28239
Updated by: derick@php.net
Reported By: millz at incogen dot com
-Status: Open
+Status: Closed
Bug Type: SOAP related
Operating System: Red Hat 9
PHP Version: 5.0.0RC2
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-05-21 23:59:23] millz at incogen dot com
I am not sure why this bug is now closed, my last comment was not meant
to indicate that it was fixed, but to provide more info about the bug.
------------------------------------------------------------------------
[2004-04-30 21:52:58] millz at incogen dot com
the method is called reverser(), not reverse as I sometimes said in my
original report
I did not show the part of the code where $body is print()'d out.
------------------------------------------------------------------------
[2004-04-30 21:51:11] millz at incogen dot com
Description:
------------
Making a call to a simple perl-based SOAP service is failing with no
error/exception (the result is null/empty).
I use the nusoap.php package to make the same call and it succeeds.
The soap method reverse returns the reverse of the inputted string.
I am trying to call the reverser method from this WSDL:
http://jabba.incogen.com:8888/soapStringHandler.wsdl
like this (see
code for more details):
$results = $builtinSoap->reverser( "asd" );
I get no result, even though it works via nusoap.php, perl soap
clients, .NET soap clients, etc.
I assume this is just user error, if so I apologize.
Reproduce code:
---------------
$wsdlUrl = 'http://jabba.incogen.com:8888/soapStringHandler.wsdl';
try {
$builtinSoap = new SoapClient( $wsdlUrl );
// print_r( $builtinSoap->__getFunctions() );
$results = $builtinSoap->reverser( "asd" );
if(!$results){print "Got no results from builtin soap!";}
// $builtinSoap->__getLastResponse();
$body .= 'Result returned from web service: <b>' . $results
. '</b>';
} catch (SoapFault $fault) {
trigger_error("SOAP Fault: (faultcode: {$fault->faultcode},
faultstring: {$fault->faulstring})", E_ERROR);
}
Expected result:
----------------
I would expect "dsa" as the result
Actual result:
--------------
NULL/nothing
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28239&edit=1
Thread (5 messages)