# Use wildcard in SOAP request body for matching

**URL:** <https://community.postman.com/t/use-wildcard-in-soap-request-body-for-matching/37778>\
**Category:** Help Hub\
**Tags:** soap, variables, collections, mock-server\
**Created:** [August 2, 2022, 8:41am UTC](https://community.postman.com/t/use-wildcard-in-soap-request-body-for-matching/37778 "2022-08-02T08:41:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![science-astronomer-3](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@science-astronomer-3](https://community.postman.com/u/science-astronomer-3)\
**Post date:** [August 2, 2022, 8:41am UTC](https://community.postman.com/t/use-wildcard-in-soap-request-body-for-matching/37778/1 "2022-08-02T08:41:20Z")

</div>

I have a SOAP based mock-server in postman which accepts and responds with ‘text/xml’ request-responses. I am using **x-mock-match-request-body: true** header field for the matching.

My issue is that in my request body, I want to use wildcard so that my request can be matched for any given value in place of wildcard. Here is an example:

```auto
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body>
<ns2:transactionID>{{transactionID}}</ns2:transactionID>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

```

My goal is to accept request body with any value for the {{transactionID}}.  
I am trying to use wildcard here, but it does not seem to be working in this case.

Any idea, about how to achieve this via Postman mock-server?
