Hi Gary,
As for accessing webservice , the two means you mentioned( VS Add
webreference and wsdl.exe) are identical.
For general usage, both of them are ok and the VS "Add WebReference"
provide a more clean and convenient user interface.
The WSDL.exe is a commandline utility which can help you specify some more
advanced command options:
#Web Services Description Language Tool (Wsdl.exe)
http://msdn.microsoft.com/en-us/libr...b6(VS.80).aspx
Also, for those files generated in VS project(after add webreference), most
of them are used by IDE. For actual webservice method call, the generated
proxy class is enough.
Hope this help clarify some. If you have any further questions on this,
please feel free 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:
ms****@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.
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://support.microsoft.com/select/...tance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "GaryDean" <gd**********@newsgroup.nospam>
Subject: ways to connect to web service
Date: Thu, 14 Aug 2008 18:47:15 -0600
>
This question is about alternate ways to hook into a web service. If we
just add web reference in VS 2003 we got a wsdl, reference.cs, and
reference.map. In vs2005 we get a wsdl and a discomap. If we use
wsdl.exe
>we get a service.cs and then include it in our project. The first two
gave
>us entries in the web config. The third does not. They all work.
Why the difference? what's the difference? What are the pros and cons?
Thanks,
Gary