ID:               28239
 Updated by:       [EMAIL PROTECTED]
 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


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

[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

Reply via email to