Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Using a WSDL provided by a third party in C# project

Using a WSDL provided by a third party in C# project

Scheduled Pinned Locked Moved C#
questioncsharpwcftutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eagle32
    wrote on last edited by
    #1

    Hi, I have a WSDL provided by a third party supplier that i would like to use in my C# code however currently i'm struggling to find a way to use the WSDL. I looked at their example and they're using ASMX file in the C# project in order to invoke the methods exposed by the service. If i wanted to use methods available in the WSDL in the C# project, how do i import the WSDL into the project?

    L 1 Reply Last reply
    0
    • E Eagle32

      Hi, I have a WSDL provided by a third party supplier that i would like to use in my C# code however currently i'm struggling to find a way to use the WSDL. I looked at their example and they're using ASMX file in the C# project in order to invoke the methods exposed by the service. If i wanted to use methods available in the WSDL in the C# project, how do i import the WSDL into the project?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      The obvious answer is, talk to the supplier.

      E 1 Reply Last reply
      0
      • L Lost User

        The obvious answer is, talk to the supplier.

        E Offline
        E Offline
        Eagle32
        wrote on last edited by
        #3

        Yes thats right. Sorry i didn't make it clear. What's the correct way of importing the WSDL into the C# project? Is it using Web Reference or Service Reference?

        OriginalGriffO 2 Replies Last reply
        0
        • E Eagle32

          Yes thats right. Sorry i didn't make it clear. What's the correct way of importing the WSDL into the C# project? Is it using Web Reference or Service Reference?

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          No, what Richard suggested was: "talk to the supplier" I.e. the supplier of the WSDL, not a random website that probably isn't at all familiar with that particular service...

          Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          1 Reply Last reply
          0
          • E Eagle32

            Yes thats right. Sorry i didn't make it clear. What's the correct way of importing the WSDL into the C# project? Is it using Web Reference or Service Reference?

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #5

            And a trivial Google (using part of your last sentence as the search string) would have told you anyway: importing the WSDL into the C - Google Search[^] The top link is even expanded for you!

            Quote:

            Start Visual Studio. On the File menu, select New > Project. ... In the New Project dialog box, enter the desired settings, then click OK. In the Solution Explorer pane, right-click on References. ... In the Add Web Reference dialog box, enter the URL to the web service's WSDL document.

            Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups