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:42:49
 
 
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00745917
Message ID:
00745931
Views:
27
Joe,

That should work ... have you tried it?

~~Bonnie

>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,
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform