Soap-client for .NetCore in c#



I wanted to build a soap-client for my .NetCore project, I was looking for something like the ‘add service reference’ from .NetFramework.

So I came across this link, nuget package Connected Service for Visual Studio, which does the same job:

So I just enter the address of the wsdl and then I’m asked for my credentials (since it is a private host). Everything seems right, but at the end I get this problem:

Error: Cannot obtain Metadata from http://address?wsdl
you have enabled metadata publishing at the specified address.  For help enabling metadata publishing, please refer to the MSDN documentation at
WS-Metadata Exchange Error.
URI: http://address?wsdl
Metadata contains a reference that cannot be resolved: 'http://address?wsdl'.

Any thoughts guys?


In case anyone else running into this issue, the discussion of this issue is on GitHub

Please open issues on GitHub WCF repo for any issues of WCF Connected Service VS extension tool.

.NET Foundation Website | Blog | Projects | Code of Conduct