473,387 Members | 1,592 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,387 software developers and data experts.

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 23448
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
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
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
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
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
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
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
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
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
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.