473,418 Members | 2,319 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,418 software developers and data experts.

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 1169
Hope this will help you:
http://msdn2.microsoft.com/en-us/library/y7f5zaaa.aspx

good luck

chanmm

"Goose14" <gu*******@gmail.comwrote in message
news:11*********************@i42g2000cwa.googlegro ups.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
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
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...
0
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...
1
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...
1
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)...
7
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...
1
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....
3
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
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
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...
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
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...
0
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,...

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.