Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Possible to consume a web service with VB.NET 1.1 VS 2003?

Reply
Thread Tools

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

 
 
John Dohn
Guest
Posts: n/a
 
      03-30-2008
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.



 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      03-31-2008


"John Dohn" <> wrote in message
news:Oj$...
> 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, 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.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer


 
Reply With Quote
 
 
 
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      03-31-2008
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/webser...ebService.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/lib...22(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:
.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
>From: "John Dohn" <>
>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.
>
>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.
>
>
>
>


 
Reply With Quote
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      04-02-2008
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:
.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "John Dohn" <>
>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.
>
>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.
>
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
consume local web service -ok consume remote service - Not OK dgleeson422111 ASP .Net Web Services 2 01-31-2010 08:02 PM
problem trying to consume web service that returns a strongly typeddataset from 1.1 web app steven ASP .Net 0 08-21-2008 02:40 PM
Is it possible to consume a Web Service from an ASP Client? Jorge Luzarraga Castro ASP .Net 2 11-03-2005 11:21 PM
Consume a web service in jsp John Bailo Java 0 09-21-2004 11:25 PM
How does a java client consume .net DataSet datatype in a web service msnews.microsoft.com ASP .Net 2 05-19-2004 02:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57