473,486 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

debeug a web service

Hi

I´m usinf Vs2005. I´ve a web service in file system but I need to debug it
invoquing from PDA. for that I need to deply the service on my local IIS. in
project options I checked user custom server with my local IIS but dosen´t
work. and the web service are not deployed to the local IIS.

what I doing wrong?
thanks
Mar 27 '06 #1
5 974
You'll need to actually add a virtual directory that maps to your
applications folder.

For example, If you application lives here: c:\SomeFolder\MyWebService\
then you should create a new virtual directory in IIS called WebService
(or anything you like) that maps to that folder.

Now, if you change your project options to use custom server at
http://localhost/WebService/ then you should be able to launch your
project into debug using VS2005. You should also be able to browse to
your service (e.g. http://localhost/WebService/Service1.asmx) from your
PDA at anytime.

HTH

Josh
http://www.thejoyofcode.com/

Mar 27 '06 #2
I'm not 100% I understand, but...
Why do you have to test the ws from a PDA? Could you use an NUnit test
method to test the WS in the same way as the PDA?
Mar 28 '06 #3
If your intended client was a PDA, wouldn't you want to test it from an
actual PDA in addition to your local unit tests?

I would ;)

Josh
http://www.thejoyofcode.com/

Mar 29 '06 #4
The PDA send a DataSet with a lot of data to the web service and I don´t
want generate the dataset.

thanks

"Alex" <al*******@hotmail.com> escribió en el mensaje
news:44**********************************@microsof t.com...
I'm not 100% I understand, but...
Why do you have to test the ws from a PDA? Could you use an NUnit test
method to test the WS in the same way as the PDA?

Mar 29 '06 #5
Yes, ultimately, but I think he wants to debug the web service, so it doesn't
matter who the consumer is...

What I would do is export the DataSet into an XML file, and use NUnit to
create a DS off the XML and test the WS.

"Josh Twist" wrote:
If your intended client was a PDA, wouldn't you want to test it from an
actual PDA in addition to your local unit tests?

I would ;)

Josh
http://www.thejoyofcode.com/

Mar 29 '06 #6

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

Similar topics

9
6974
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code...
7
712
by: Mike | last post by:
I want to create a windows service that will monitor another window service. what i need for the service to do is, if a service is stopped I need it to start the service back up example: ...
9
7223
by: SP | last post by:
Hi All, I wrote a windows service which is supposed to stop after specified amount of time. I am calling OnStop() after specified time. OnStop() methods executed but I dont see the service...
3
56917
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
2
4656
by: letibal | last post by:
Hello, I have written a windows service and created an installer for it. The service runs under the system accounts. When started, it launches a GUI. By default, the InteractiveProcess property...
4
3158
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
4
21678
by: carson | last post by:
I have written two windows services: - service A does some crunching of local data files and uploads them to a central processing computer via http. - service B monitors a manifest file on a...
20
6703
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1...
5
3266
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name?...
0
7094
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
7123
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
7173
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...
0
5427
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,...
0
4559
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...
0
3066
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
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 ...
0
259
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.