# WS-Security Authentication for Soap call

**URL:** <https://community.dynatrace.com/t/ws-security-authentication-for-soap-call/19421>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [May 26, 2020, 8:26am UTC](https://community.dynatrace.com/t/ws-security-authentication-for-soap-call/19421 "2020-05-26T08:26:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [May 26, 2020, 8:26am UTC](https://community.dynatrace.com/t/ws-security-authentication-for-soap-call/19421/1 "2020-05-26T08:26:13Z")

</div>

Hello,

We need to add WS-Security token ik a Soap call, doe anybody have any experiance with this?

KR Henk

---

<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:** [May 26, 2020, 9:15am UTC](https://community.dynatrace.com/t/ws-security-authentication-for-soap-call/19421/2 "2020-05-26T09:15:33Z")

</div>

Is this somehow related to Dynatrace monitoring your services or what is the use case here? Is the service broken after instrumented by Dynatrace? Or is this just a generic question not related to Dynatrace?

With Dynatrace you don’t have any options to modify the calls between services or application or application behaviour. For any changes, you need to modify your application code or configuration.

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [May 26, 2020, 10:11am UTC](https://community.dynatrace.com/t/ws-security-authentication-for-soap-call/19421/3 "2020-05-26T10:11:12Z")

</div>

Hallo Julius,

This about the http monitoring (Synthetics), we want to post a soap request but a token is needed…

KR Henk

---

<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:** [May 26, 2020, 10:48am UTC](https://community.dynatrace.com/t/ws-security-authentication-for-soap-call/19421/4 "2020-05-26T10:48:48Z")

</div>

Oh! My apologies. I overlooked the tag.

You are creating an HTTP monitor? AFAIK WS-Security is just an extension and you will need to add appropriate tags in your HTTP request payload.

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [May 26, 2020, 11:54am UTC](https://community.dynatrace.com/t/ws-security-authentication-for-soap-call/19421/5 "2020-05-26T11:54:48Z")

</div>

Hi Julius,

I was under the impression that you need to generate a token, and this token changes/expires over time. So for every request it need to be regenerated.

KR Henk

---

<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:** [May 26, 2020, 12:01pm UTC](https://community.dynatrace.com/t/ws-security-authentication-for-soap-call/19421/6 "2020-05-26T12:01:47Z")

</div>

It depends on the called party and the requirements. For any generation, you need to use the scripting functionality of HTTP requests.
