Forum Discussion

cromero207's avatar
cromero207
New Contributor
6 years ago

Testing WCF WsHttpBinding with MutualCertificate service on SOAPUI

Hello:

I was trying to test on SOAPUI a WCF service with the following configuration:

  <customBinding>
        <binding name="TestECWSServiceSoapBinding">
          <security defaultAlgorithmSuite="Basic128" authenticationMode="MutualCertificate"
            requireDerivedKeys="false" securityHeaderLayout="Lax" includeTimestamp="false"
            messageProtectionOrder="SignBeforeEncrypt" messageSecurityVersion="WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10"
            requireSignatureConfirmation="false">
            <localClientSettings detectReplays="true" />
            <localServiceSettings detectReplays="true" />
          </security>
          <textMessageEncoding messageVersion="Soap11" />
          <httpTransport />
        </binding>
        <binding name="TestECWSServiceSoapBinding1">
          <security defaultAlgorithmSuite="Basic128" authenticationMode="MutualCertificate"
            requireDerivedKeys="false" securityHeaderLayout="Lax" includeTimestamp="false"
            messageProtectionOrder="SignBeforeEncrypt" messageSecurityVersion="WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10"
            requireSignatureConfirmation="false">
            <localClientSettings detectReplays="true" />
            <localServiceSettings detectReplays="true" />
          </security>
          <textMessageEncoding messageVersion="Soap11" />
          <httpTransport />
        </binding>
      </customBinding>

Previously i have created a WCF client on C# and it works; now i want to test the webservice on SOAPUI, but in a older post mentioned the following:

WsHttpBinding is not currently supported in SoapUI (as of v4.6.2).
WsHttpBinding turns on a number of WS-* protocols by defaults. Some of them we support, such as:
- WS-Security http://www.soapui.org/SOAP-and-WSDL/app ... urity.html
- WS-Addressing http://www.soapui.org/SOAP-and-WSDL/usi ... ssing.html
- WS-ReliableMessaging http://www.soapui.org/SOAP-and-WSDL/usi ... aging.html

But there are also a number of other standards used in wsHttpBinding that are not supported by SoapUI Pro (e.g. WS-SecureConversation, WS-SecurityPolicy)

I would like to know if exist some kind of support for WsHttpBinding with MutualCertificate on SoapUI 5.5.0 and how to configure SOAPUI for testing  the webservice.

Thanks

 

 

  • richie's avatar
    richie
    Community Hero

    Hi cromero207 

     

    If you're asking about SoapUI v5.5.0 - have you raised this post in the correct forum or should your post be added to the Open Source SoapUI forum (link)?

     

    I did see the post you referenced pointed to a post within the Pro forum - but you mentioned 5.5.0 rather than ReadyAPI! - hence my question?

     

    Although it would be handy to know either way for ReadyAPI! I suppose - the previous post you mentioned was raised 5 years ago!

     

    cheers,

     

    rich