Reputation: 12743
I have a .NET web service which is a SOAP service. I want to convert it into a REST service.
What options do I have to create that middle ware to:
Upvotes: 4
Views: 3064
Reputation: 35126
You have two options
1) Just create a WCF service with two endpoints one with webhttpbinding and the other with basichttpbinding (i.e. soap). You don't need to relay calls from one service to another.
2) Wrap all your business logic in a class that is consumed by SOAP service class and your REST service class. You can write REST service using ASP.NET MVC or WCF.
Upvotes: 3