cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Request attribute that captures the 'SOAP Action'

PRIYA
Visitor

I want to configure a request attribute that captures the 'SOAP Action' from the request header. how can I create it?

 

1 REPLY 1

AurelienGravier
DynaMight Pro
DynaMight Pro

Hi @PRIYA 

Go on settings/Server-side service monitoring/Request attributes and define a new request attribute with type http header: 

AurelienGravier_0-1672929087519.png

And configure the parameter name and it's possible to clean the value extracted by preprocessing :

AurelienGravier_1-1672929180273.png

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.

Observability consultant - Dynatrace Associate/Pro/Services certified

Featured Posts