Standard: System.Web.Services.Protocols.Soap not supported on .net Standard

Created on 24 Aug 2018  路  9Comments  路  Source: dotnet/standard

Hi, my name is Lucas, I'need make portability beteween .net framework 4.5 to .net standard 2.0, my library use services do protocol Soap. However, not's supported on standard, how can I solve this problem?

netstandard-api

Most helpful comment

https://www.nuget.org/packages/dotnet-svcutil/ can generate code from wsdl (it powers the new add service reference experience for wsdl endpoints).

Code in here - https://github.com/dotnet/wcf

https://github.com/dotnet/wcf/tree/master/src/dotnet-svcutil

All 9 comments

I am also facing this Issue. I am using SoapExtensionAttribute to log Soap messages. Any body here to help?

As a solution to my demand, I chose to do the httpclient requests.

i need this urgently

@gsmental are you talking about writing client code to connect to SOAP or writing server side SOAP?

For client-side may be this will help https://stackoverflow.com/questions/46918505/calling-asmx-service-from-net-core-api2

For server-side may be this will help https://github.com/DigDes/SoapCore

What is microsoft's solution for ServiceDescriptionImporter? This seems like a really helpful way of dynamically generating a client for a web service. We currently use it to do this so that our customers can use it in plugins. Is there a new way to do this now?

https://docs.microsoft.com/en-us/dotnet/api/system.web.services.description.servicedescriptionimporter?view=netframework-4.8

https://www.nuget.org/packages/dotnet-svcutil/ can generate code from wsdl (it powers the new add service reference experience for wsdl endpoints).

Code in here - https://github.com/dotnet/wcf

https://github.com/dotnet/wcf/tree/master/src/dotnet-svcutil

@davidfowl thank you for the prompt response. That seems like the solution I was looking for.

any progress? our project need upgrade to .net 5, but .net 5 not support web reference generate wsdl code. it's difficult.

Was this page helpful?
0 / 5 - 0 ratings