Answer the question
In order to leave comments, you need to log in
How to see SOAP request?
Good evening friends!
I'm tired of looking for a solution on Google. I decided to ask here, if anyone can suggest something on the topic, I would be very grateful.
There is a soap client in php. How to see what data in xml format it sends?
Answer the question
In order to leave comments, you need to log in
$client = new SoapClient($location, array('trace' => $trace, 'login' => $login, 'password' => $pass, 'soap_version' => 'SOAP_1_1');
try {
$request = $client->method_name();
$last_request = $client->__getLastRequest();
} catch (SoapFault $exception) {
$last_request = $client->__getLastRequest();
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question