473,326 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Consuming webservice

Hi

I have created my first web service that returns a dataset, on my local
win2k server. How can I now consume the web service in a vb.net app also
running on the same server?

Thanks

Regards
Nov 20 '05 #1
5 1191
Hi,
In the project menu add a web reference to it.

Ken
-------------------

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl:
Hi

I have created my first web service that returns a dataset, on my local
win2k server. How can I now consume the web service in a vb.net app also

running on the same server?

Thanks

Regards


--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.3.3 - Release Date: 6/18/2004
Nov 20 '05 #2
Hi John,

After adding a web reference ... instantiate the object using the namespace
and class name that you have used in your webservice. And then you can
easily call the Web Method.

Thank You,
rawCoder

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,
In the project menu add a web reference to it.

Ken
-------------------

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl:
Hi

I have created my first web service that returns a dataset, on my local
win2k server. How can I now consume the web service in a vb.net app also

running on the same server?

Thanks

Regards


--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.3.3 - Release Date: 6/18/2004

Nov 20 '05 #3
Yes, and its Damn good aint it ?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"rawCoder" <ra******@hotmail.com> wrote in message
news:uz**************@tk2msftngp13.phx.gbl...
Hi John,

After adding a web reference ... instantiate the object using the namespace and class name that you have used in your webservice. And then you can
easily call the Web Method.

Thank You,
rawCoder

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,
In the project menu add a web reference to it.

Ken
-------------------

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl:
Hi

I have created my first web service that returns a dataset, on my local win2k server. How can I now consume the web service in a vb.net app also
running on the same server?

Thanks

Regards


--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.3.3 - Release Date: 6/18/2004


Nov 20 '05 #4
What I am not clear is how to register my web service so its reference comes
up.

Thanks

Regards

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,
In the project menu add a web reference to it.

Ken
-------------------

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:uE**************@TK2MSFTNGP09.phx.gbl:
Hi

I have created my first web service that returns a dataset, on my local
win2k server. How can I now consume the web service in a vb.net app also

running on the same server?

Thanks

Regards


--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.3.3 - Release Date: 6/18/2004

Nov 20 '05 #5
Hi John,

If you have the WebService Project running the it shouldnt be a
problem.

In the Add Web Reference dialog write the url for your webservice...
something like http://localhost/TestSevice/TestService.asmx?WSDL
and off you go.

Hope this helps.

and tell you an interesting thing. go to http://www.xmethods.net
locate some kool Web Service from the list ( preferably made in .NET ),
add the web reference to their service and use it. Its really fun.

Thank You,
rawCoder

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: kamig | last post by:
Hi! Scenario: Consuming my webService in a windows application give denied acces! Explanation: I have to say a moveTo fn. which move one file/dir from one drive to another, <authorization>
0
by: plmanikandan | last post by:
I need to develop a application to consume a webservice. For consuming web service i tried a example in Consuming a Web Service in C# in http://www.csharphelp.com.But i am uanble to use that...
5
by: Preben Zacho | last post by:
Anyone that has a link or description that simply as possible shows how to add a web reference to a class library in C# and consuming it? TIA PZ
0
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
2
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
0
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
5
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
4
by: Boni | last post by:
I want consuming a webserivce trough a proxy. I use this code. myService s = new myService (); System.Net.WebProxy proxyObject = new System.Net.WebProxy("http://proxyhost:8080"); s.Proxy =...
1
by: Thomas Mueller | last post by:
Hi, I'm currently working on C# code consuming a PHP-webservice (soapserver-class of PHP5). A PHP test-client worked fine and achieved the requested data from the service's server. Using the...
2
by: arnomarga | last post by:
I am trying to consuming a .NET web service from a standard (classic) ASP, but having not so much luck as I dont have much experience about SOAP. Here is the webservice url:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.