Showing results for 
Search instead for 
Did you mean: 

Unable to Test WCF servuce using SOAP UI

New Member

Unable to Test WCF servuce using SOAP UI


I am trying to test WCF service from SOAPUI. We have a WebProgram which consumes this WCF service and send a request using this. Through this i am able to send a request and receive the response.


We need to create a SOAPUI project for third party testing. When i have copied the wcf request from logs and tried to send i am getting below error."An error occurred when verifying security for the message"


Can i get some help on this.


<s:Envelope xmlns:s="" xmlns:a="">
<a:Action s:mustUnderstand="1"></a:Action>
<s:Value xmlns:a="">a:InvalidSecurity...>
<s:Text xml:lang="en-US">An error occurred when verifying security for the message.</s:Text>

Community Hero

Re: Unable to Test WCF servuce using SOAP UI

Hey @Om,

The reported problem appears to be security scheme/credentials according to the error response you mentioned.

Essentially you either need to check the requirements to determine what security pattern is being used (basicAuth? Embedded username/password in SOAP payload content? Certificates? WS security? OAuth?, etc.) and set that up so your SOAP request includes those security details.

OR, the WebProgram you mention which currently does support successful publishing of your SOAP request will already have the security pattern configured correctly....otherwise youd get an equivalent error response that youre currently getting in soapui. You just need to identify whT security is being used by your WebProgram and replicate these details for your SOAP request.



You s
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
New Here?
Join us and watch the welcome video:
Top Kudoed Authors