Search Results
Returns the SOAP headers from the last request. Note: This function only works if the SoapClient object was created with the trace option set to true.
Note: This method works only if the SoapClient object was created with the trace option.
Returns the SOAP headers from the last request. Note: This function only works if the SoapClient object was created with the trace option set to TRUE.
This function only works if the SoapClient object was created with the trace option set to true.
Aug 22, 2023 · The easiest and best * way to debug a SOAP request is indeed to create a SOAP extension that logs the raw SOAP request and the raw SOAP response from the Web service or Web service client using the following functions of the SoapClient class: SoapClient::__getLastRequestHeaders SoapClient::__getLastRequest SoapClient::__getLastResponseHeaders
SoapClient::__getLastRequestHeaders — Returns the SOAP headers from the last request
People also ask
What does __getlastrequestheaders do?
How to debug a SOAP request?
Is it possible to debug using a SOAP extension?
Is a soap debugger worth the money?
Setting the boolean trace option enables use of the methods SoapClient->__getLastRequest, SoapClient->__getLastRequestHeaders, SoapClient->__getLastResponse and SoapClient->__getLastResponseHeaders. The exceptions option is a boolean value defining whether soap errors throw exceptions of type SoapFault.
