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


J

John Dohn

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.
 
Ad

Advertisements

G

Guest

John Dohn said:
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.
 
S

Steven Cheng [MSFT]

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:
(e-mail address removed).

==================================================
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.


--------------------
 
Ad

Advertisements

S

Steven Cheng [MSFT]

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:
(e-mail address removed).

==================================================
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.
--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top