ID: 29842
Updated by: [EMAIL PROTECTED]
Reported By: mobi at delfnet dot pL
-Status: Open
+Status: Assigned
Bug Type: SOAP related
Operating System: Win2000 SP4
PHP Version: 5CVS-2004-08-25 (dev)
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2004-08-25 20:55:40] mobi at delfnet dot pL
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 this bug report at http://bugs.php.net/?id=29842&edit=1