SOAP Client - return null value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Problem:

code:

    $wsdl = new
SoapClient(http://wsrp.netunitysoftware.com/WSRPTestService/WSRPTestService.
asmx?Operation=WSDL
                                       ,array('trace' => 1));
    $news = $wsdl->register($RegistrationData_Type);
    var_dump($news);

soap request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="urn:oasis:names:tc:wsrp:v1:types">    <SOAP-ENV:Body>
<ns1:register><ns1:consumerName>name</ns1:consumerName>
<ns1:consumerAgent>test.1.0</ns1:consumerAgent>
<ns1:methodGetSupported>0</ns1:methodGetSupported>
<ns1:consumerModes>wsrp:view</ns1:consumerModes>
<ns1:consumerModes>wsrp:edit</ns1:consumerModes>
<ns1:consumerWindowStates>wsrp:view</ns1:consumerWindowStates>
<ns1:consumerWindowStates>wsrp:edit</ns1:consumerWindowStates>
</ns1:register>    </SOAP-ENV:Body></SOAP-ENV:Envelope>soap response:<?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>result:NULLAny
idea why the result is NULL? "registrationHandle" has value so where is the
problem? Bug maybe?
-- Filip Serewa



-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux