I am using Microsoft.Web.Services3.SoapContext.Security in VB.NET code but getting following warning, Please let me know your suggestions.
'Microsoft.Web.Services3.SoapContext.Security' is obsolete: 'SoapContext.Security is obsolete. Consider deriving from SendSecurityFilter or ReceiveSecurityFilter and creating a custom policy assertion that generates these filters.'
Dim username As String = MDI_LoginID
Dim password As String = MDI_Pswrd 'Password needs to be present to test this.
Dim UserToken As New UsernameToken(username, password, PasswordOption.SendPlainText)
Dim requestcontext As SoapContext = objCSWEBCIC.RequestSoapContext()
requestcontext.Security.Timestamp.TtlInSeconds = 60
View Complete Post