.net WS-security中断SOAP消息中的签名

.net WS-security中断SOAP消息中的签名,.net,web-services,soap,digital-signature,wse,.net,Web Services,Soap,Digital Signature,Wse,我需要使用一个特定的加密提供者对soap消息进行签名。因此,我编写了一个子类SoapExtension,它在stageSoapMessageStage.AfterSerialize中添加数字签名,并在stageSoapMessageStage.before反序列化之前对其进行验证。服务器端工作正常,但客户端存在一个问题:添加签名后,总是添加一些新的ws-security元素,签名变得不正确。更改优先级没有效果。有: 内部肥皂:信封 xmlns:wsa="http://schemas.xmlsoa

我需要使用一个特定的加密提供者对soap消息进行签名。因此,我编写了一个子类SoapExtension,它在stageSoapMessageStage.AfterSerialize中添加数字签名,并在stageSoapMessageStage.before反序列化之前对其进行验证。服务器端工作正常,但客户端存在一个问题:添加签名后,总是添加一些新的ws-security元素,签名变得不正确。更改优先级没有效果。有:

内部肥皂:信封

xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"  xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
内部soap:Header

<wsa:Action>ServerTest/TestMultiply</wsa:Action><wsa:MessageID>uuid:6ea73f70-8164-4e5a-8f8c-17853eadfba2</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://mylocalhost:31791/WebServiceEstate.asmx</wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-50be5708-32ab-4014-81d4-7b0b82ff6262"><wsu:Created>2012-08-31T09:49:51Z</wsu:Created><wsu:Expires>2012-08-31T09:54:51Z</wsu:Expires></wsu:Timestamp></wsse:Security>
ServerTest/testmultiplyUID:6ea73f70-8164-4e5a-8f8c-17853eadfba2http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymoushttp://mylocalhost:31791/WebServiceEstate.asmx2012-2008-31T09:49:51Z2012-08-31T09:54:51Z

添加此ws-Security数据后如何应用singnature?

从WSE 2.0迁移到WSE 3.0后解决的问题

从WSE 2.0迁移到WSE 3.0后解决的问题