Sign WCF SOAP envelope without authentication RRS feed

  • Question

  • Hello.

    I'm trying to consume JAVA web-service with a WCF-client. This service does not require any additional authentication and works well through basicHttpBinding except that it requires SOAP-message to be signed.

    I was looking through MSDN and Google, but every example I found was about setting customBinding with security authenticationMode like MutualCertificate or something. That requires a service-certificate which I don't have. I have only client-side certificate which I want to use to sign SOAP-Envelope's body and then send it to the service through HTTP. What's the right way to do that in WCF?

    Thanks in advance.

    Tuesday, January 22, 2013 10:12 AM


  • in fact, i have no access to Java-service sources. The point was to connect WCF-application to it =).

    Anyway i solved this issue bu signing the SOAP-envelope manually in custom MessageInspector by means of SignedXml class (extended with "ds"-namespace).

    Friday, February 1, 2013 7:31 AM

All replies