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

ways to connect to web service

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

Aug 15 '08 #1
2 1473
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

Aug 15 '08 #2
Hi Gary,

How are you doing?

Do you still have any question on this issue?

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.

--------------------
>Organization: Microsoft
Date: Fri, 15 Aug 2008 06:00:09 GMT
Subject: RE: ways to connect to web service
>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.
Aug 19 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Mr Dygi | last post by:
Hi, PHP 4.3.4 installed manually from package *.zip and Apache 2. I have a problem with this simple code: <?php $link = mysql_connect("127.0.0.1","","") or die("Could not connect: " ....
0
by: Brad Clements | last post by:
I'm trying to get a simple service to work with py2exe and python 2.3 I get this error when I start it (after registering it) The description for Event ID ( 240 ) in Source ( UMXWIN32SVC )...
0
by: Jim | last post by:
I'm working on my first .net project using c#. I've been using activex controls embedded in a web page and wanted to do the same in ..net. My approach has been to create a windows control library...
1
by: Mike Stephens | last post by:
I would like to write a service app, a simple application that runs in the background and does its thing, and not necessarily running on the local machine. This service app will not have any GUI...
0
by: Moe | last post by:
It seems that some recent Microsoft Windows 2000 Service Pack updates has caused the configuration export function in IBM DB2 connect Ver. 7.2 to malfunction by exporting a blank file. The...
10
by: blurryimage | last post by:
Ok guys I have racked my brain on this one. I have a vb .net service installed on a win2k server. I am trying to get it to connect to sql 2000 box but I get this error: An error has occurred...
3
by: arasub | last post by:
ep 20, 2007 11:25:57 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found...
1
by: Manjunath.M | last post by:
Hi, I have created a simple Web service with only one function, which takes only one parameter. Below is the function from Web service public string HelloWorld(string input) { return "Hello...
0
by: nancylife | last post by:
When developing web report, many developers use VMware to simulate different operating systems on a same server. Then, they can realize cross-platform deployment and debug of web report. According to...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.