S
S
superkolya2015-11-17 15:08:16
SOAP
superkolya, 2015-11-17 15:08:16

SoapClient looks like we got no XML document?

There is a soap service. I am using a method which returns a pdf file in the response. The problem is that if the request is made in the SoapUI program, then everything is fine, but if through the SoapClient in php, then the error "looks like we got no XML document" is issued. Please tell me where to dig to fix

$client = new SoapClient('url', array(
 'trace' => 1,
'exceptions' => 0)
);

$result = $client->getPdf($wsdl_params);
print_r($result); //SoapFault exception: [Client] looks like we got no XML document in ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question