Reputation: 26251
I have got some classes generated by wsdl
for soap web services. These are using namespace System.Web.Services
. How can I use them in asp.net core?
Upvotes: 19
Views: 23657
Reputation: 17485
I have answered few days back on following question.
ASP.NET 5 add WCF service reference
In above case there is a WCF service and in your case it is Web Service.
Following thing you should concern or consider.
You have to add reference to "System.Web.Services" following way.
aspnet50": { "frameworkAssemblies": {
"System.Web.Services": "" }, "dependencies": { "ClassLibrary2": "1.0.0-*" } }
All other steps are similar that you have to create classlibrary project and add reference of that project or directly add class generated from WSDL to your asp.net 5 project.
Note : For this answer I have used VS 2015 CTP 5.
Upvotes: 10