From:             millz at incogen dot com
Operating system: Red Hat 9
PHP version:      5.0.0RC2
PHP Bug Type:     SOAP related
Bug description:  No results returned on SOAP call, no error given

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 bug report at http://bugs.php.net/?id=28239&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28239&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28239&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28239&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28239&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28239&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28239&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28239&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28239&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28239&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28239&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28239&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28239&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28239&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28239&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28239&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28239&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28239&r=float

Reply via email to