Creating custom HTTP headers in SoapUI is very straightforward. Switch to the Headers tab at the bottom of the request editor and add click
to add a new header:
![SOAP web service testing: Headers tab](/soapui/media/images/soapuios/soap-request-headers.png)
If a custom header’s name coincides with an existing standard header name, the custom header will replace the standard header in the request. For example, on the following image you can see a custom Content-Type
header that overrides the standard Content-Type
used for the SOAP Request (text/xml; charset=utf-8
):
![SOAP web service testing: Replacing standard request headers](/soapui/media/images/soapuios/soap-custom-header-replaces-standard-header.png)
You can add as many headers as you woud like, and their value can contain property expansions.
To view response headers, use the Headers tab of the response part:
![soap-response-headers.png soap-response-headers.png](/getattachment/docs/SOAP-and-WSDL/Headers/soap-response-headers.png)