C# 2015 web service oasis usernametoken

Hello,

I have to implement in a web service header the oasis usernametoken security.

I have seen some documentation that implement it using Microsoft.Web.Services3, but in VB 2005.

What is the Equivalent of Microsoft.Web.Services3 in VB 2015?, are there any example on how to implemented this type of security in VB 2015?
Jose CollazoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan McFaddenSystems EngineerCommented:
The functionality of Microsoft.Web.Services3 was integrated into Web Services Enhancements for Microsoft .NET (WSE) v3.0.

VS Forum Link:  https://social.msdn.microsoft.com/Forums/vstudio/en-US/bcc0a847-2ff0-42d6-8c8d-64cd7f30cff5/whats-the-replacment-for-microsoftwebservices3dll-in-net-4x?forum=netfxsetup

WSE3 has been replaced by Windows Communication Foundation... aka:  WCF

Reference link:  https://blogs.msdn.microsoft.com/distributedservices/2012/10/25/web-service-enhancements-wse-supported-environments/

So any development in .NET v3.0+ should be done in WCF.  Below are several links to Authentication in WCF:

Links:
- Authentication and Authorization in WCF Services #1 = https://msdn.microsoft.com/en-us/library/ff405740.aspx
- Authentication and Authorization in WCF Services #2 = https://msdn.microsoft.com/en-us/library/ff406125.aspx
- WCF Transport Security = https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/transport-security-with-basic-authentication

The last link has a link table on the left to all the various implementations of security in WCF Services.

Here is an article which explains what the issue with the WS-Security header is and what WCF doesn't directly support but can be implemented.

Link:  https://weblog.west-wind.com/posts/2012/Nov/24/WCF-WSSecurity-and-WSE-Nonce-Authentication

As well as a forum thread on MSDN:  https://social.msdn.microsoft.com/Forums/azure/en-US/e2d78087-9b60-4a78-81eb-2b1ac4ea7194/how-to-create-a-custom-wsse-header-usernametokennonce-for-webservice-using-nonwcf-code?forum=wcf

Dan
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jose CollazoAuthor Commented:
Thanks Dan,

I will review the links in your answer and let you know.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.