# How can I capture soapxml in request attribute?

**URL:** <https://community.dynatrace.com/t/how-can-i-capture-soapxml-in-request-attribute/23048>\
**Category:** Open Q&A\
**Tags:** request-attributes\
**Created:** [February 19, 2020, 7:26am UTC](https://community.dynatrace.com/t/how-can-i-capture-soapxml-in-request-attribute/23048 "2020-02-19T07:26:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cp\_patel](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@cp\_patel](https://community.dynatrace.com/u/cp_patel)\
**Post date:** [February 19, 2020, 7:26am UTC](https://community.dynatrace.com/t/how-can-i-capture-soapxml-in-request-attribute/23048/1 "2020-02-19T07:26:14Z")

</div>

I have soap XML format data which is a request from my application to the third party for payment purpose.I have the class and method information which forwards that request to other party. I am only interested to capture 1 parameter from the envelope (the one which is in bold).Please guide me what data type and Request attribute source I need to select to capture the interested field.

For example :

| http://schemas.xmlsoap.org/soap/envelope/"\>  
http://iims.services/types/"\>  
  
SKIRCL  
SUPERUSER  
1  
SKIRCL  
BROKER  
  
  
  
  
A  
  
  
5987  
  
9100.130200  
  
  
  
ECS  
D  
  
  
1302001610602692  
**5987**  
  
GHMP4557047775  
  
  
1302001610602692  
A  
  
  
  
  
 |

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [February 19, 2020, 8:02am UTC](https://community.dynatrace.com/t/how-can-i-capture-soapxml-in-request-attribute/23048/2 "2020-02-19T08:02:22Z")

</div>

A short answer is - it cannot be done directly. Dynatrace does not have any options to capture HTTP POST Payload, parse it and extract data.

However, depending on your application, it is possible to capture the parameter by capturing it in the code where this gets processed. That can be done either by using capturing of Java/NET method parameters or return values. But you need to find the right class / method where this information is processed in your application code. The fastest way is to find this is to ask the developers of the application.

See here for details how to set up capturing of request attributes on method arguments:

> **[Capture request attributes based on method arguments](https://docs.dynatrace.com/docs/observe/application-observability/services/request-attributes/capture-request-attributes-based-on-method-arguments)**
>
> Learn how to create request attributes based on Java, .NET, or PHP method arguments and how to use them on the service’s overview page. Also find out how you can aggregate the captured values of request attributes as well as how you can access...

Alternatively, if you can incorporate OneAgent SDK in the application, you can send the data from your code directly. But would require changes to your application code.
