Forum Discussion

Om's avatar
New Member
4 years ago

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:Value>
<s:Text xml:lang="en-US">An error occurred when verifying security for the message.</s:Text>

1 Reply

  • richie's avatar
    Community Hero
    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