From: mobi at delfnet dot pL Operating system: Win2000 SP4 PHP version: 5CVS-2004-08-25 (dev) PHP Bug Type: SOAP related Bug description: soapclient return null value
Description: ------------ SOAP result is null (wsdl file is correct and WebService works). The following pice of code explain the problem: Reproduce code: --------------- $wsdl = new SoapClient('http://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.asmx?Operation=WSDL',array('trace' => 1)); $RegistrationData = array("consumerName" => "test", "consumerAgent" => "test.1.0", "methodGetSupported" => false, "consumerModes" => array('wsrp:view','wsrp:edit'), "consumerWindowStates" => array('wsrp:view','wsrp:edit'), "consumerUserScopes" => array(), "customUserProfileData" => array(), "registrationProperties" => array(), "extensions" => array()); print_r($wsdl->register($RegistrationData_Type)); Expected result: ---------------- SOAP RESULT: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <registerResponse xmlns="urn:oasis:names:tc:wsrp:v1:types"> <registrationHandle>1f9c4223-ce73-4cdf-b24f-fdd15d2066ad</registrationHandle> </registerResponse> </soap:Body> </soap:Envelope> print: Array ( [registrationHandle] => 1f9c4223-ce73-4cdf-b24f-fdd15d2066ad ) Actual result: -------------- SOAP RESULT: the same as bottom print: NULL -- Edit bug report at http://bugs.php.net/?id=29842&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29842&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29842&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29842&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=29842&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29842&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29842&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29842&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29842&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29842&r=support Expected behavior: http://bugs.php.net/fix.php?id=29842&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29842&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29842&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29842&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29842&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29842&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29842&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29842&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29842&r=float