# How to add SOAP request on synthetic HTTP monitor

**URL:** <https://community.dynatrace.com/t/how-to-add-soap-request-on-synthetic-http-monitor/39200>\
**Category:** Troubleshooting\
**Tags:** http-monitor, synthetic-monitoring\
**Created:** [April 12, 2023, 7:00am UTC](https://community.dynatrace.com/t/how-to-add-soap-request-on-synthetic-http-monitor/39200 "2023-04-12T07:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mareeswaran](https://avatars.discourse-cdn.com/v4/letter/m/d2c977/32.png) [@Mareeswaran](https://community.dynatrace.com/u/Mareeswaran)\
**Post date:** [April 12, 2023, 7:00am UTC](https://community.dynatrace.com/t/how-to-add-soap-request-on-synthetic-http-monitor/39200/1 "2023-04-12T07:00:00Z")

</div>

To create SOAP requests on synthetic HTTP monitor, we need a sample HTTP Request & Response information like below,

```auto
Note:- This is the sample request and response which uses the dummy urls 
<!-- REQUEST ---------------------------------------------------->
POST https://www.dynatrace.com/additioncalculator //Post url

//Request Headers
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Accept-Language: en-us
Accept-Encoding: gzip
Host: www.dynatrace.com
SOAPAction: https://www.dynatrace.com/additioncalculatoraction
Content-Type: text/xml
Content-Length: 256
Connection: Keep-Alive
Authorization: Basic Testing

//Request Body
<?xml version="1.0" standalone="yes"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:req="https://www.dynatrace.com/">
    <soap:Body>
        <request:Addition>
            <request:input1>10</request:input1>
            <request:input2>20</request:input2>
        </request:Addition>
    </soap:Body>
</soap:Envelope>

<!-- RESPONSE --------------------------------------------------->

//Response Headers
HTTP/1.1 200 OK
Cache-Control: private, max-age=0
Date: Tue, 01 Nov 2022 10:28:08 GMT
Content-Length: 298
Content-Type: text/xml; charset=utf-8
Content-Encoding: gzip
Server: Microsoft-IIS/10.0
Vary: Accept-Encoding

//Response body
<?xml version="1.0" standalone="yes"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <AdditionResponse xmlns="http://www.dynatrace.com/">
            <AdditionResult>30</AdditionResult>
        </AdditionResponse>
    </soap:Body>
</soap:Envelope>

```

Based on the above information, we can create the synthetic HTTP monitor by adding the post urls, request headers, Basic Authentication details and request body like below,

 ![image1.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/56fdcd8c27d4068e05b2d71045aee266264db86e.png)

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 12, 2023, 6:54pm UTC](https://community.dynatrace.com/t/how-to-add-soap-request-on-synthetic-http-monitor/39200/2 "2023-05-12T18:54:00Z")

</div>

Thank you for sharing this! I’m sure it will help out many community members.
