Forum Discussion

RichardM's avatar
RichardM
Occasional Contributor
13 years ago

Using SOAPUI to test WCF Serive with WS Security

I am trying to use SOAP UI 4.5 to test a WCF Service that uses WS Security. I have followed the guide here http://www.soapui.org/SOAP-and-WSDL/app ... urity.html to configure the WS Security.
When I submit the request I get an HTTP 500 Internal server error with "The message could not be processed. This is most likely because the action 'http://tempuri.org/IGetHeaders/GetHeaders' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding." in the reason text.

When I google this I find lots of people telling me that SOAP UI wont work in this situration and that I need to turn off security on the WCF service or to use WCF Storm (which I have tried and it works), but neither of these are acceptable solutions.

Can anyone confirm that SOAP UI should work in this situation and give me some clues as to how configure SOAP UI?

Thanks in advance
Richard