Create a simple Web Service client with WSDL in C# Visual Studio 2017

Поділитися
Вставка
  • Опубліковано 6 лис 2017
  • Get data from a web service, and integrate it into our C# Visual Studio 2017 project. Take a quick look at WSDL and consider how it is relevant. Explore the endpoint configuration in the Web.config file. See a conversion from inches to centimeters, using a web service.

КОМЕНТАРІ • 33

  • @ajamgochian
    @ajamgochian 5 років тому +1

    This worked well for me, both locally using IIS Express (from Visual Studio) and remotely when published on the web. I had a problem at first with the remote test, which I resolved and more about it in a minute.
    I used a remote Web service that I had created earlier using Brandan Jones' tutorial on creating Web Service with WSDL. I carefully followed the same steps as in the tutorial for my projects. The local Web Client test on IIS Express worked right away, but I had difficulty at first testing remotely on the Web. This turned out to be a problem with my service provider GoDaddy, not with the project I had created. I found out that my service provider does not allow pre-compiling, so I took out the section in web.config that was generated by Visual Studio, and voila, the Web Client worked perfectly.

  • @92maraki92
    @92maraki92 6 років тому +11

    I can't see the page. It says not found. Do you know another page with web services cause i need it for a project in the university?

  • @nelsonrivers8546
    @nelsonrivers8546 5 місяців тому

    Can you add a video on how to consume a legacy Java Web Service from Visual Studio 2022 in Visual Basic. NET or C#.NET ?

  • @yairduran3128
    @yairduran3128 Рік тому

    Thanks, your video really helped me

    • @discospiff
      @discospiff  Рік тому

      Excellent! I'm glad it helped. You don't hear much about web services these days, as RESTful JSON has become more popular. But, there are still a lot of web services around!

  • @mukeshshah2204
    @mukeshshah2204 6 років тому +1

    Hi , How can we generate Proxy client For WCF SOAP Service in Dotnet Core 2.0? or How can add service reference in dotnetcore 2.0 ?

  • @Somu_Murugan
    @Somu_Murugan 5 років тому

    "System.ServiceModel.FaultException: InvalidSecurity : error in processing the WS-Security security header" ... Could anyone help on this issue..... Plz

  • @andrebalbi4968
    @andrebalbi4968 2 роки тому +2

    This video is informative, easy to understand and ultimately awesome, however the 10790 emails on the top right corner were REALLY annoying me.

    • @discospiff
      @discospiff  2 роки тому

      Oh, I have way more than that now. The number is much bigger. :)

  • @MrBalu711
    @MrBalu711 6 років тому +1

    unable to open page getting error : {"code":"PAGE_NOT_FOUND","message":"Page not found"}

  • @JerrodVolzka
    @JerrodVolzka 5 років тому

    This is kind of old. I have needed to add a security node to the webconfig along with the binding in later .Net versions.

  • @zarcon5750
    @zarcon5750 6 років тому +1

    I can't seem to get the screen you showed when you clicked "Add Connected Service", instead I see a boilerplate page talking about Monitoring with Application Insights, or Cloud Storage with Azure Storage, etc. I assume I'm doing something wrong, but I can't figure out what. I created a WCF Service Application as the base Project template using .NET Framework 4.5, could that be my issue?

  • @johnywhy4679
    @johnywhy4679 2 роки тому

    Why is LengthValue UNDERNEATH "ChangeLengthUnit"? In "Sequence", they list ALL the parameters, including LengthValue, which DOESN'T expect one of the Lengths. Confusing!

  • @DynamicSoft
    @DynamicSoft 5 років тому

    It works on when u running application using visual studio. But when you publish to IIS it does not work even we try without compile the script. Can please help us how to do that? WSDL web reference in IIS

    • @ajamgochian
      @ajamgochian 5 років тому

      Please see if my post helps with this problem

  • @PratikOberoi
    @PratikOberoi 4 роки тому

    Thanks

    • @discospiff
      @discospiff  4 роки тому

      You're welcome! Thanks for watching.

  • @old_school
    @old_school 2 роки тому

    Why not just cast it as a Double instead of parsing a value and creating a double object? Less code/effort to just cast the txt box value as double.

  • @jasondads9509
    @jasondads9509 6 років тому +2

    WOW, you have over 10 thousand unread emails, and i thought i had a lot of unread email...

    • @discospiff
      @discospiff  6 років тому +1

      Moving emails to trash takes too much time. :)

  • @davesmulders3931
    @davesmulders3931 3 роки тому

    ConveRted

  • @bwzffgh7
    @bwzffgh7 2 роки тому

    There aren't "about" 2.54 cm in an inch. There are *exactly* 2.54.

  • @veroslavolic
    @veroslavolic 3 роки тому +1

    Looks very easy, but the devil comes with authentications to web services.

  • @old_school
    @old_school 2 роки тому

    Instead of "" + dblConvertedLength use .ToString()

    • @discospiff
      @discospiff  2 роки тому

      Thanks for the suggestion!