05 Jan 2023 11:42 AM - last edited on 05 Jan 2023 11:45 AM by MaciejNeumann
I want to configure a request attribute that captures the 'SOAP Action' from the request header. how can I create it?
Solved! Go to Solution.
05 Jan 2023 02:35 PM
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.