Programatically Invoking a Webservice in Vb.Net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amollokhande1
    New Member
    • Feb 2008
    • 33

    Programatically Invoking a Webservice in Vb.Net

    Hi,

    I have one query regarding the webservice Invocation. I have one simple webserive. I want to invoke it in VB.Net. I have all required input like contenttype,met hod,namespaceur i,webservice etc.

    Previously I was using XMLHTTP for invoking the webservice in VB. Now I want to use features provided by the .Net. So how do I Invoke the webservice in vb.net, so that application can consume the output of webservice in the form of xml.

    Thanks
    Amol
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    in solution explorer
    right click the solution and click on add web reference

    navigate to the page which holds the webservice and add it to the project.

    You should then be abte to use the webservice.

    In the web references folder right click the service you just entered and rightclick -> choose browse in object explorer.

    that will goive you the idea of the namespace required to access it.

    Comment

    Working...