Soap encryption with a SoapExtension class...

UPDATE: Problem solved!!

I'm trying to use the example on MSDN Encrypting SOAP Messages. I've spent quite some time trying to make this work, but I think I missed something... The article describes how to make a custom SoapExtension class that encrypts Soap messages. I thought I only needed to include the dll (downloaded from GotDotNet), and add an attribute to my WebMethod:

_

Public Function TestMe() As String

Return "Test..."

End Function

But, whatever I try, if I test my webservice in IE, the response is always plain, readable text... Does anyone has any experience with this? I really would appriciate some help! Thanks!!

1 Comment

  • When testing SoapExtension, do not use IE (because it uses the GET protocol), create a simple client in vs.net (it could be console app) and test (that will use SOAP protocol)

Comments have been disabled for this content.