36

I've got web service http://www.mcommunicator.ru/m2m/m2m_api.asmx?WSDL And I've got a problem with connecting to it from Visual Studio 2015 in my Web API project

There is no "Add web reference" anymore I've tried to add is with: References-> Add connected Service -> WCF Service - Preview It finds 1 web service by my address, but I get an error when click finish. I guess it's not a WCF service, that's why I get an error. But I don't see any other ways to add it. Please, help me.

4
  • 1
    You may be better off using a SOAP client, there's probably plenty on Nuget. Commented Aug 23, 2016 at 16:53
  • 1
    I would rather work the old way, if it's possible. It was really convinient for me. Most of these packages have examples for mvc 4 not even 5 and i'm not 100% sure they will work with .net core. But I will try some, thanks for advise. Commented Aug 23, 2016 at 18:19
  • @Soren that's a broken link... Commented May 4, 2018 at 11:17
  • 2
    take a look at Microsoft WCF Web Service Reference Provider Tool (it's now part of the Visual Studio) Commented May 5, 2018 at 6:14

1 Answer 1

44

To add the SOAP service references for clients built on top of WCF for .NET Core 1.0 install the extension Visual studio WCF Connected Service via the “Extensions and Updates” dialog box.

After installed, In Solution Explorer, right-click on the References project item and then click on the Add Connected Service option.

The Add Connected Service dialog box appears and you should have a new option "WCF Service - Preview".

Sign up to request clarification or add additional context in comments.

11 Comments

@BhargavRao thank you for providing the link. hopefully the answer is better now.
Yeah, It's better. Deleted my commented and upvoted your post
have you tried to add soap service yourself? I've seen this article you're providing long before I wrote this question. And if you just red my question you would see that i've tried to do what article sujested andf failed
now it is "Microsoft WCF Web Service Reference Provider" marketplace.visualstudio.com/… Warning: there are bug in version from "Extensions and Updates" : github.com/dotnet/wcf/issues/2076#issuecomment-315934164 Version from MarketPlase is OK
is the extension still available in 2020? i cannot find it in vs2019(community).
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.