\Google\AdsApi\Common\UtilSoapHeaders

Static utility methods for working with SOAP request and response headers.

Summary

Methods
Properties
Constants
getSoapHeaderValue()
getSoapResponseHeaderValues()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$SOAP_HEADER_NODE_NAME
$SOAP_RESPONSE_HEADER_NODE_NAME
N/A

Properties

$SOAP_HEADER_NODE_NAME

$SOAP_HEADER_NODE_NAME :

Type

$SOAP_RESPONSE_HEADER_NODE_NAME

$SOAP_RESPONSE_HEADER_NODE_NAME :

Type

Methods

getSoapHeaderValue()

getSoapHeaderValue(string  $xml,string  $soapHeaderName): string

Gets the value of the specified SOAP header from the specified SOAP request or response payload as an XML string.

Parameters

string $xml
string $soapHeaderName

Returns

string —

the SOAP header value or an empty string if the header isn't found

getSoapResponseHeaderValues()

getSoapResponseHeaderValues(  $xml)

Parameters

$xml