Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

WCF and SOAPUI, Cannot do Encryption, missing header parts

$
0
0

I have a WCF WebService with certificate security authentication

When I consume it via C# code or via WCFTestClient.exe 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

 

When analyzing the request on the server's svclog, I found that the difference in the request are:

 

Succesfull WcfTestClient > Headers > o:security >

  • u.TimeStamp
  • o:BinarySecurityToken
  • e:EncryptedKey
  • e:EncryptedData

SOAPUI > Headers > wsse:security >

  • wsse:BinarySecurityToken
  • wsu:TimeStamp

I am unable to get the EncryptedKey and EncryptedData in the Header, soi the server keep sending back "security protocol cannot verify incoming message"

 

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


Viewing all articles
Browse latest Browse all 20990

Trending Articles