I want to configure a request attribute that captures the ‘SOAP Action’ from the request header. how can I create it?
Hi @PRIYA
Go on settings/Server-side service monitoring/Request attributes and define a new request attribute with type http header:
And configure the parameter name and it’s possible to clean the value extracted by preprocessing :
Example of HTTP request which match with the previous config :
POST /SqlBatch HTTP/1.1
Host: testServer
Content-Type:application/xml
SOAPAction:
"http://schemas.microsoft.com/sqlserver/2004/SOAPsqlbatch"
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sql="http://schemas.microsoft.com/sqlserver/2004/SOAP">
<SOAP-ENV:Body>
<sql:sqlbatch>
<sql:BatchCommands>
SELECT @@version
</sql:BatchCommands>
</sql:sqlbatch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Regards Aurélien.

