I need to send a "Ack Message" to a WCF service.
The web service accepts only messages that are digitally signed. The certificate used to sign should be included in the SOAP/Header/Security node.
It must contain a reference element corresponding to an <Operation> node that is added to the Soap<Header>Node and a signed Body element that can be found in the Soap<Body> node.
So far so good. The problem is that the web service doesn't accept our messages because our signing is not correct to their requirement. When I compare our SoapEnvelope with the required SoapEnvelope, I see that the order of signing the body and operation
node is different.
(The references in the SignedInfo come in a different sequence)
This is the Soap<Header> we send