Forum Discussion

massanu's avatar
massanu
New Contributor
9 years ago

WCF and SOAPUI: BasicHttpBinding + Message + Certificate

I have a WCF WebService with BasicHttpBinding and Certificate security authentication

 

Configuration on the server which cause issue

<basicHttpBinding>
   <binding name="BasicHttpBinding_IService">
      <security mode="Message">
          <message clientCredentialType="Certificate" />
       </security>
    </binding>
</basicHttpBinding>

 

When I consume it via C# code or via WCFTestClient.exe or wih WCFStorm it works (I have the certificates in Personal and Trusted People store)

Now when I try to invoke it via SOAPUI, I am unable to do it; I tried all kind of configuration following every example I could possible find

  

During my tests with SOAP UI, Manual C# code or wcftestclient, i am using my personal private certificate + The exported Certificate from the server

 

I followed the tutorials with :

- Adding .pfx into SSL Preference

- Adding WS Security, Encryption

- I tried adding Timestamp

- I Tried adding Signature

- I Tried combination of all of these in every possible order

 

I spent 5 full days trying to make that work, our client use SOAPUI for testing 

 

If you need any other info, config etc.. please let me know