Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2008

Tip: Looking for answers? Try searching our database.

Possible to consume a web service with VB.NET 1.1 VS 2003?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Dohn - 30 Mar 2008 02:19 GMT
I am at my wits end and turn to you guys in hopes of learning the correct
procedure.

For any given web service X, regardless of (and without knowing) what
technology was used to create it, is it possible to consume it with either a
win form or an aspx page developed in VB.net 1.1 and VS2003?

I can create a web service and consume it from localhost, no problem.
But I can't seem to consume external web services, e.g.
http://www.webservicex.net/usweather.asmx?wsdl .

In fact, I would be extremely grateful if  anyone point me to even one
example of working code that consumes a working web service hosted on a
currently accessible remote server so that I can see an intact example of
the "whole egg".

Much obliged, and thanks in advance.
John Saunders [MVP] - 31 Mar 2008 01:21 GMT
> I am at my wits end and turn to you guys in hopes of learning the correct
> procedure.
[quoted text clipped - 13 lines]
>
> Much obliged, and thanks in advance.

John, you don't find any such examples because there is no need for any. It
should work exactly the same way it does for "localhost".

Please tell us exactly what exception you're seeing. Post the entire
exception, including any InnerException. Also, tell us exactly what steps
you're taking and exactly what the result of each step is.
Signature

--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer

Steven Cheng [MSFT] - 31 Mar 2008 03:49 GMT
Hi John,

Sure, webservice is aiming at interop between heterogenious platforms. The
key point is that the websevice itself should be ready for interop(it
conform to webservice standards and expose standard and correct WSDL
document ....).

For consuming realworld webservice, here is an article mentioned consuming
amazon webservice on code project:

#Implementing Amazon Web Services in VB.NET
http://www.codeproject.com/KB/webservices/AmazonWebService.aspx

also the following msdn sample links some existing publich webservices that
you can also use for test:

#Consuming a Web Service Sample  
http://msdn2.microsoft.com/en-us/library/ms173022(VS.80).aspx

If you have any further questions, welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: "John Dohn" <noemail@noemail.com>
>Subject: Possible to consume a web service with VB.NET 1.1 VS 2003?
>Date: Sat, 29 Mar 2008 21:19:42 -0400
>Lines: 20

>I am at my wits end and turn to you guys in hopes of learning the correct
>procedure.
[quoted text clipped - 13 lines]
>
>Much obliged, and thanks in advance.
Steven Cheng [MSFT] - 02 Apr 2008 10:47 GMT
Hi John,

Have you got any further idea on this? If you have any further questions,
welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "John Dohn" <noemail@noemail.com>
>Subject: Possible to consume a web service with VB.NET 1.1 VS 2003?
>Date: Sat, 29 Mar 2008 21:19:42 -0400

>I am at my wits end and turn to you guys in hopes of learning the correct
>procedure.
[quoted text clipped - 13 lines]
>
>Much obliged, and thanks in advance.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.