Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Consume a web service in VB.NET
Message
From
27/01/2003 14:26:43
 
 
To
All
General information
Forum:
ASP.NET
Category:
Web Services
Title:
Consume a web service in VB.NET
Miscellaneous
Thread ID:
00745917
Message ID:
00745917
Views:
68
How do you consume a web service within a VB.NET windows application? If I have a web service with an operation called "mood" which takes no params and returns the following in a browser.
  <?xml version="1.0" encoding="utf-8" ?> 
  <anyType xmlns:q1="http://www.w3.org/2001/XMLSchema" d1p1:type="q1:string"
xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://localhost/zippy">Happy</anyType> 
What needs to be done? Is this faux example a pure fantasy?
private function GetMyOp() as string
    dim foo as webservice = "http://localhost/zippy"
    if GotINetConnection() then  
        GetMyOp = foo.mood
    endif
end function
My thanks,
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Next
Reply
Map
View

Click here to load this message in the networking platform