I am consuming a webServices written in Java and in the call to the request I need a signature X509Certificate2 in the header of the request, an example of how it should look like this: External Link
I'm trying to create a WSHttpBinding
, configuring it with code and setting the certificate installed on my pc through
servicio.ClientCredentials.ClientCertificate.SetCertificate.
My problem is that I created this header:
<s:Header>
<a:Action s:mustUnderstand="1">Nombre Metodo al que llamo</a:Action>
<a:MessageID>urn:uuid:et43534-0537-4756-8juf9-7cb56hd6e443</a:MessageID>
<a:ReplyTo>
<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
</a:ReplyTo>
<a:To s:mustUnderstand="1">DIRECCION DEL WSDL</a:To>
I've been around for quite a few days and I'm not capable.
If someone helps me, I would appreciate it.
Thanks