none
Connecte .Net app to JAVA web service with WS-Security. Looking for a HERO! RRS feed

  • Question

  • I need to connect an .Net app to a java webservice with BinarySecurityToken. 

    What i have so far is:

    <system.serviceModel> <bindings> <customBinding> <binding name="MyBinding" > <textMessageEncoding messageVersion="Soap11" /> <security authenticationMode="MutualCertificate" enableUnsecuredResponse="true" allowSerializedSigningTokenOnReply="true" messageSecurityVersion="WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10" includeTimestamp="false" > </security> <httpTransport /> </binding> </customBinding> </bindings> <behaviors> <endpointBehaviors> <behavior name="BindingBehavior"> <clientCredentials> <clientCertificate findValue="xxxx" storeLocation="LocalMachine" storeName="My" x509FindType="FindByThumbprint" /> <serviceCertificate> <defaultCertificate findValue="xxxx" storeLocation="LocalMachine" storeName="Root" x509FindType="FindByThumbprint" /> <authentication certificateValidationMode="None" /> </serviceCertificate> </clientCredentials> </behavior> </endpointBehaviors> </behaviors> <endpoint address="url" binding="customBinding" bindingConfiguration="MyBinding" contract="PostPaymentConfiguration.M" name="PostPaymentConfiguration"

    behaviorConfiguration="BindingBehavior" <identity>

              <dns value="10" />
            </identity>
          </endpoint>

    When i check with fiddler my header i dont see the signature atribute added. 

    I cant find why is not being added.

    Any help is appreciated

    Sry about the forum, dont know where to add this.



    • Edited by GVarini Thursday, April 5, 2018 4:05 PM
    Thursday, April 5, 2018 4:03 PM

All replies