473,498 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SOAP and VB.NET

Here's what I need to do. I have to consume a web service using a Windows
client application. I want to write the application using VB.NET. I have
some experience with earlier versions of VB, and I have the new software
loaded. I'm just not sure how to get started. I've searched the Internet
and there appears to be dozens of ways to accomplish this, but none of the
examples are complete. The web service is at an external site and was
created with .NET...it's a .asmx file.

If anyone can point me to a good, thorough tutorial or book or
examples/downloads using VB.NET to consume a web service, I'd greatly
appreciate it.

Thank you,
Julian
Nov 21 '05 #1
6 23454
Julian,

Forever called by me the best walkthrough there is on MSDN
http://msdn.microsoft.com/library/de...alkthrough.asp

I hope this helps?

Cor
Nov 21 '05 #2
The Code Project has an article called "Consuming Web Services from a Win
Forms Application" available at
http://www.codeproject.com/cs/webser...ceconsumer.asp. Its code
samples are in C#, but not too complex. Sorry if this is a problem.

Hope this helps,
Phil Harvey

---
http://spaces.msn.com/members/dotnetspace
Nov 21 '05 #3

Jan. 7, 2005

Microsoft Press XML Web Services Step By Step is really easy and
simple to learn on. I have found MSPress books have been really detailed and
useful... to the tune of reading over 6,200 pages in one year!
Joseph MCAD
"Julian McMaster" wrote:
Here's what I need to do. I have to consume a web service using a Windows
client application. I want to write the application using VB.NET. I have
some experience with earlier versions of VB, and I have the new software
loaded. I'm just not sure how to get started. I've searched the Internet
and there appears to be dozens of ways to accomplish this, but none of the
examples are complete. The web service is at an external site and was
created with .NET...it's a .asmx file.

If anyone can point me to a good, thorough tutorial or book or
examples/downloads using VB.NET to consume a web service, I'd greatly
appreciate it.

Thank you,
Julian

Nov 21 '05 #4
On this page, near the bottom, is a link that will display a short movie
about creating and consuming a web service:

http://www.msdn.microsoft.com/vbasic...b/default.aspx

There is more to learn - but this shows the basic process you will use and
perhaps give you a place to start.
"Julian McMaster" <fi********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Here's what I need to do. I have to consume a web service using a Windows
client application. I want to write the application using VB.NET. I have
some experience with earlier versions of VB, and I have the new software
loaded. I'm just not sure how to get started. I've searched the Internet
and there appears to be dozens of ways to accomplish this, but none of the
examples are complete. The web service is at an external site and was
created with .NET...it's a .asmx file.

If anyone can point me to a good, thorough tutorial or book or
examples/downloads using VB.NET to consume a web service, I'd greatly
appreciate it.

Thank you,
Julian

Nov 21 '05 #5
That's very helpful, makes sense! I was trying to follow along, but found
that I don't have a reference to a specific class in the demo:

Dim ws As New WebService.servicename

I don't have WebService in my available classes, only {}web, {}windows, and
{}xml. Sorry for such a fundamental question, but I none of the references
I added by Project>Add Reference fixed this.

Thank you,
Julian
"S. Daum" <st****@Spam-Me-Not.pqsystems.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
On this page, near the bottom, is a link that will display a short movie
about creating and consuming a web service:

http://www.msdn.microsoft.com/vbasic...b/default.aspx

There is more to learn - but this shows the basic process you will use and
perhaps give you a place to start.
"Julian McMaster" <fi********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Here's what I need to do. I have to consume a web service using a Windows client application. I want to write the application using VB.NET. I have some experience with earlier versions of VB, and I have the new software
loaded. I'm just not sure how to get started. I've searched the Internet and there appears to be dozens of ways to accomplish this, but none of the examples are complete. The web service is at an external site and was
created with .NET...it's a .asmx file.

If anyone can point me to a good, thorough tutorial or book or
examples/downloads using VB.NET to consume a web service, I'd greatly
appreciate it.

Thank you,
Julian


Nov 21 '05 #6
That's very helpful, makes sense! I was trying to follow along, but found
that I don't have a reference to a specific class in the demo:

Dim ws As New WebService.servicename

I don't have WebService in my available classes, only {}web, {}windows, and
{}xml. Sorry for such a fundamental question, but I none of the references
I added by Project>Add Reference fixed this.

Thank you,
Julian
"S. Daum" <st****@Spam-Me-Not.pqsystems.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
On this page, near the bottom, is a link that will display a short movie
about creating and consuming a web service:

http://www.msdn.microsoft.com/vbasic...b/default.aspx

There is more to learn - but this shows the basic process you will use and
perhaps give you a place to start.
"Julian McMaster" <fi********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Here's what I need to do. I have to consume a web service using a Windows client application. I want to write the application using VB.NET. I have some experience with earlier versions of VB, and I have the new software
loaded. I'm just not sure how to get started. I've searched the Internet and there appears to be dozens of ways to accomplish this, but none of the examples are complete. The web service is at an external site and was
created with .NET...it's a .asmx file.

If anyone can point me to a good, thorough tutorial or book or
examples/downloads using VB.NET to consume a web service, I'd greatly
appreciate it.

Thank you,
Julian


Nov 21 '05 #7

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

Similar topics

0
4184
by: bigbinc | last post by:
I have setup a soap machine on linux and similar configuration works properly. on a windows mahcine, I get these erros on the addressbook, samples, any ideas. I am pretty sure my classpaths are...
2
4427
by: Artur | last post by:
Hi Newsgroup, im currently working on programming a asp.net application consuming an Webservice hosted on Apache/Axis. I have generated WSDL and Proxy classes from VisualStudio.net. But when...
8
6277
by: xmail123 | last post by:
Hi, As was pointed out whatever you return from a WebMethod needs to be serializable to SOAP. An ArrayList is not serializable. I will be needing to return other data types from web methods. ...
0
4807
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
0
5592
by: info | last post by:
Dear all, is the first time that I use SOAP, and i must say that i'm having several problems. this is SOAP message that expects the server =================XML EXPECTED FROM THE...
1
2246
by: gcmartijn | last post by:
H! When I use php code nusoap everything works but with python I get everytime "Your session key does not exist or has expired" I use this code below: test =...
2
6734
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
0
2677
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
0
2209
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
1
7861
by: ehsanch | last post by:
Hi i am writing a SOAP client, when using php 5 soap , it send this code and i get error : <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4908
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4588
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1417
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
290
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.