473,597 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debuging webservice

I have a client application and a webservice. Both are in the same
solution. If I reference the local webservice and run, and step into
the webservice no problem. My question is, when I want to publish the
webservice, do i have to keep changing the reference from the local
copy to the remote copy(on server) ?

My ultimate goal is to be able to debug the webservice. Currently my
client app even in debug mode has the reference to the remote copy of
the webservice, but I cannot debug that way. The only way I see to
debug is if I change the reference to the local copy and step through
that way.

Is this correct? Is the way everyone does it?

Also In the webservice, I access a local database (local to the remote
server), but when i change the reference to the local copy of the
webservice(i do not have the db locally) do i have to manually change
all the "localhost" connections to remote?

Any info on this matter would be much appriciated!!

Sep 21 '06 #1
1 1184
Hope this will help you:
http://msdn2.microsoft.com/en-us/library/y7f5zaaa.aspx

good luck

chanmm

"Goose14" <gu*******@gmai l.comwrote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
>I have a client application and a webservice. Both are in the same
solution. If I reference the local webservice and run, and step into
the webservice no problem. My question is, when I want to publish the
webservice, do i have to keep changing the reference from the local
copy to the remote copy(on server) ?

My ultimate goal is to be able to debug the webservice. Currently my
client app even in debug mode has the reference to the remote copy of
the webservice, but I cannot debug that way. The only way I see to
debug is if I change the reference to the local copy and step through
that way.

Is this correct? Is the way everyone does it?

Also In the webservice, I access a local database (local to the remote
server), but when i change the reference to the local copy of the
webservice(i do not have the db locally) do i have to manually change
all the "localhost" connections to remote?

Any info on this matter would be much appriciated!!

Sep 22 '06 #2

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

Similar topics

9
2465
by: mickeyg | last post by:
Is there a way to step thru php application? What tools do I need? I will like to see what lines are being executed and maybe variables values Thanks in advance
6
768
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a .NET Framework application, but just not on the .NET CF version. Can anyone suggest anything that might be wrong with the code? (I could post the app and webservice, but i was hoping that you might have noticed something from the supplied...
0
972
by: FOX User Group | last post by:
Hi, Migh be this is the stupid question, does anyone know the root cause of the following problem: 1. I create project Web Application, say just put label 'Testing" on the page 2. I run the web page by pressing F5 key after that appear error message: "Unable to start debuging on the web server. Server side-error occurred on sending debug HTTP request"
1
1152
by: Rogers | last post by:
When I tried to run an application developed by VB.net in IIS6,This error occured,The error message is "Current credit level setting desn't support Debuging"(in chinese),I dont't know how to translate it,I hope you can undenstand it. I create a website and added two virtual directorys to it,But both two applications doesn't work,The error message is upwards. And the setting of this website is default,I didn't change anything after I...
1
2100
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS) First project is a webService. Second consumes the webservices by the first.
7
2914
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure out to create a "DataSet" as the return type from the webservice?
1
1089
by: Carlos Albert | last post by:
Hello group, I have a weird problem with VS2003 & VS2005 using both ASP.NET 1.1 and 2.0, that is that 90% of the times I hit debug, doesn't debug anything, just runs as I was releasing. Sometimes it works, one or two pages, or even the same page after a postback, just stop debuging. Didn't try debuging a windows app, cause I only do web development. I'm running Win2003, IIS6, .NET framework 1.1 and 2.0, VS 2003 and VS2005.
3
1233
by: Tina | last post by:
How can I debug with a querystring in vs.net? Is there some place to put the querystring? thanks, T
4
1752
by: psbasha | last post by:
Hi, How to check the class attributes/member variable values while debuging in 'PythonWin'?. I need to watch all the member varibales values of a class ,given the object or etc. Thanks PSB
0
7885
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8271
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8380
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8031
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6686
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3923
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2399
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
1
1493
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.