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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. How do you consume an existing web serivce

How do you consume an existing web serivce

Scheduled Pinned Locked Moved Visual Basic
csharphelptutorialquestion
3 Posts 2 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.
  • G Offline
    G Offline
    gengel
    wrote on last edited by
    #1

    Good day, I have created a webservice in visual web developer express. "http://localhost:50198/ScanShip.asmx" It has a function: "http://localhost:50198/ScanShip.asmx?op=CheckSerial" How would I now consume this webservice from Visual Basic .net. You cannot create a webservice in visual basic 2008 express and all the documentation explains how to set up the webserivce and then consume it in the same project. I only want vb.net to consume an existing web service. Any help would be appreciated.

    S 1 Reply Last reply
    0
    • G gengel

      Good day, I have created a webservice in visual web developer express. "http://localhost:50198/ScanShip.asmx" It has a function: "http://localhost:50198/ScanShip.asmx?op=CheckSerial" How would I now consume this webservice from Visual Basic .net. You cannot create a webservice in visual basic 2008 express and all the documentation explains how to set up the webserivce and then consume it in the same project. I only want vb.net to consume an existing web service. Any help would be appreciated.

      S Offline
      S Offline
      Steven J Jowett
      wrote on last edited by
      #2

      You need to add a reference to it from your VB.NET project. Right-Click the Project in the Solution Explorer and select Add Service Reference.

      Steve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.

      G 1 Reply Last reply
      0
      • S Steven J Jowett

        You need to add a reference to it from your VB.NET project. Right-Click the Project in the Solution Explorer and select Add Service Reference.

        Steve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.

        G Offline
        G Offline
        gengel
        wrote on last edited by
        #3

        Thanks. Just what I needed.

        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