samuelskanberg
13 years agoOccasional Contributor
How to set global http headers
Hello,
I am using SoapUI 4.5.2 (open source version). I am using a web service (WCF) which require password and user id for each WS call in the header. For each WS method call I have to put in the password header and the user id header. I also have to set WS-Adressing for each WS call: "Add default wsa:Action" and "Add default wsa:To".
First I will open the WS method, then I will click the "Headers" tab beneath the input window. I will click the "+" to add a HTTP header, first I will add UserID and set a User ID, then I will add the password header.
Secondly, I will click the WS-A tab, check the "Add default wsa:Action" checkbox and then check the "Add default wsa:To" checkbox.
I have to do this for each WS method which is kind of annoying. Is there any way to set these http headers and WS addressing settings globally?
Thank you for your help!
Best regards,
Samuel
I am using SoapUI 4.5.2 (open source version). I am using a web service (WCF) which require password and user id for each WS call in the header. For each WS method call I have to put in the password header and the user id header. I also have to set WS-Adressing for each WS call: "Add default wsa:Action" and "Add default wsa:To".
First I will open the WS method, then I will click the "Headers" tab beneath the input window. I will click the "+" to add a HTTP header, first I will add UserID and set a User ID, then I will add the password header.
Secondly, I will click the WS-A tab, check the "Add default wsa:Action" checkbox and then check the "Add default wsa:To" checkbox.
I have to do this for each WS method which is kind of annoying. Is there any way to set these http headers and WS addressing settings globally?
Thank you for your help!
Best regards,
Samuel