Forum Discussion

newusersoapui's avatar
newusersoapui
Occasional Contributor
14 years ago

Adding XML tags to all outgoing request ,automatically

Hi,
I am new to using soapui. I've just started learning it.
I want to add login,paswword and usertype xml tag to the header , like below, to all my outgoing request in soapui automatically. how can I achieve this.

header I want to achieve for all outgoing request


<soapenv:Header>
<ns1:login soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://api.abc.xyz.com/">abc@xyz.com
</ns1:login>
<ns2:password soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns2="https://api.abc.xyz.com/">XXXXXXX
</ns2:password>
<ns3:usertype soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns3="https://api.abc.xyz.com/">2
</ns3:usertype>
</soapenv:Header>


Thanks. any help would be greatly appreciated.
No RepliesBe the first to reply