473,549 Members | 2,616 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Service not updating when developing and debugging within VS 2005

Guys,

I've been experiencing a weird problem. I am developing a web service in
pretty much the same way I do develop other types of application using
C#.net (2.0). The problem is that when I run the application from Visual
Studio the code that is presented to me is different than the actual code.
It takes some cumbersome actions to get it to work:

a) "clean" the solution, rebuild it and then run
b) close and open VS again
c) "Stop" the Web Servers that VS opens when you are debugging a web service
within the IDE

This is not pratical at all. Have any of you experienced the same problem?
Is there a solution for this?

I think that I may be doing something wrong. It is prety cumbersome to
develop a web service, doing deployments, attaching to process and so on to
properly debug an application.

Any thoughts?

Regards,

Robson Siqueira
Enterprise Architect
May 10 '07 #1
1 1353
Is your webservice in the same project? If not have you tried right
clicking on the web reference you added and selecting update, this will
refresh the wsdl used to generate your proxy class for the webservice.

MattC

"Robson Siqueira" <ro****@robsonf elix.comwrote in message
news:us******** *****@TK2MSFTNG P06.phx.gbl...
Guys,

I've been experiencing a weird problem. I am developing a web service in
pretty much the same way I do develop other types of application using
C#.net (2.0). The problem is that when I run the application from Visual
Studio the code that is presented to me is different than the actual code.
It takes some cumbersome actions to get it to work:

a) "clean" the solution, rebuild it and then run
b) close and open VS again
c) "Stop" the Web Servers that VS opens when you are debugging a web
service within the IDE

This is not pratical at all. Have any of you experienced the same problem?
Is there a solution for this?

I think that I may be doing something wrong. It is prety cumbersome to
develop a web service, doing deployments, attaching to process and so on
to properly debug an application.

Any thoughts?

Regards,

Robson Siqueira
Enterprise Architect

May 15 '07 #2

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

Similar topics

1
1352
by: Top Poster | last post by:
I was wondering if someone could help me out with some of the "big picture" issues associated with ASP.Net Web services from Windows XP. Any advice will be greatly appreciated! Why, when I create a new ASP.Net web application project, does Visual Studio.Net prompt me for the URL of the web server? At this point - I might not have...
6
25190
by: Dmitri Shvetsov | last post by:
Hi All, Did somebody see the situation when the VS refuses to debug the Web Service at all? I can't catch why, the initially created Web Service can be debugged very easy but after some changes in a source code, maybe the source code becomes bigger that some hidden threshold, the debugger can't enter into this code anymore. I can use this...
0
3388
by: Ross Bennett | last post by:
Ahoy, Folks! I've been looking all over for this, but I just can't seem to shake any documentation out of the MSDN or from Google. I've reviewed every .NET article on developing Windows Services in the MSDN I've located. I'm developing a Windows Service application. This service reads its configuration data from the system registry...
5
7048
by: victor | last post by:
Help .... This is my situation: I've made two apps, a Managed C# and an Unmanaged MFC. The C# app communicates with the MFC-app via (Win32-API) PostMessage, done with the P/Invoke method. One of the activities is "FindWindow". Everything works fine. Until ...: I needed the same procedure within another context: now I need to communicate...
4
1142
by: Band of Multi | last post by:
The Application that my company built runs off of Web Services. The problem that we are having is that there are three programmers developing on these Web Services at the same time. When ever one person creates or edits a web service, it seems like the other web services don't get updated. In order to get the Web Service to work, I would...
2
2440
by: Trevor | last post by:
Argh! This problem is driving me nuts! Can you help? In November of 2003, I installed a web service on Windows Server 2003 built in VB.NET for v1.1.4322 of the framework. It contains a timer (System.Timers.Timer) which has an interval of 24 hours. Actually, it reads a time like 2AM out of the config file, and calculates the time between...
0
1446
by: JT | last post by:
Hi, I've just realized that I'm not as smart as I thought I was. I have no problem creating Windows apps, class libraries, using windows references, etc. But, I absolutely cannot create and use a web service and Windows application pair in VS 2005, even following the walkthrough in Help. There are differences in some of the steps they...
6
3969
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public string UID; public string PWD; }
5
5561
by: Oriane | last post by:
Hi, I have a .Net Visual Studio solution with one asp.net Web application, which uses a Asp.Net Web service. Both are compiled in debug mode, and both are using the Studio development web server for debugging. I have also add the Web reference to the web service with the "Add Web service in the solution" choice, that is the Web app starts...
0
7532
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7462
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7730
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7823
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6059
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5101
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3491
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1957
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.