There is such a code:

$wsdl_url = "https://xxxxx?wsdl"; $client = new SoapClient($wsdl_url); $params = new stdClass(); $params->login = "xxxx"; $params->token = "xxxx"; $cat = $client->GetData($params); 

At the output we get an array of data.

Tell me, please, how to get the output is not an array, and the XML file?

Thank.

    1 answer 1

    To myself and I will answer:

     var_dump($client->__getLastResponse()); 

    Great bike, however: D

    Hehe! How to answer - so nobody, and how to put cons - all d'Artagnan :)