Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WCF wsHttpBinding in SoapUI

Tags:

wcf

soapui

I am trying to add WCF service with wsHttpBinding to soapUI.

I am using message security and it works with test client but SoapUI returns

An error occurred when verifying security for the message

Here is service configuration:

<wsHttpBinding>
   <binding name="wsHttpSecure">
      <security mode="Message">
         <message clientCredentialType="UserName" negotiateServiceCredential="true"    
                  establishSecurityContext="false" algorithmSuite="Default" />
      </security>
   </binding>
</wsHttpBinding>

Here http://www.soapui.org/SOAP-and-WSDL/applying-ws-security.html is a document but they say I need .jks file. I only have encoded public key value generated by SvcUtil in test client configuration file.

like image 612
jlp Avatar asked Apr 16 '12 07:04

jlp


1 Answers

after a lot of research I found a solution on a blog.

You need to check the WS-A:To checkbox, located on the WS-A options tab.

How to enable wsa:To

After doing that, my problem was solved.

This is the blog containing the solution. Thanks David!!

like image 75
jccprj Avatar answered Oct 13 '22 10:10

jccprj