Problem using WSE 2.0 with ASP.NET 2.0



I’m trying to use Web Services Enhancements 2.0 SP3 with .NET 2.0 in order to
digitally sign SOAP messages. The problem I’m having is on the server, where
I am trying to verify the signature of the messages. In .NET 1.1, in order
to do this, we had to add this following to the web service’s web.config:

<webServices> <soapExtensionTypes> <add
type="Microsoft.Web.Services2.WebServicesExtension,
Microsoft.Web.Services2,Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" priority="1" group="0"/>
</soapExtensionTypes> </webServices>

In 2.0, I get an error message of “Parser Error Message: Unrecognized
element 'SoapExtensionTypes'” when I add that section.

My questions are:

Should I still be using WSE 2.0 to digitally sign SOAP messages? Is there a
better way?
How can I fix the web.config problem?

Thanks,
Bryan
.



Relevant Pages