Link to home
Start Free TrialLog in
Avatar of chokka
chokkaFlag for United States of America

asked on

How to debug a webservice ? VB.Net


I am working on Multi Layer VB.Net project.

I need to debug a Webservice Project which is written on VB.Net.

I have the source code or complete code of Webservice Project.

I am using Webservice as my Reference in my Main Project.

I need to debug it..!

How to do ..!

Avatar of Obadiah Christopher
Obadiah Christopher
Flag of India image

R u not able to place a breakpoint in the webservice and run the application in debug mode?

You might also try

in Menu, Debug --> Attach Process --> w3p. You should be able to debug it
Avatar of chokka

ASKER

i am not able to see w3p

I am working VS 2005
Avatar of danirk2
danirk2

Run the webservice under debugger and set break-points.
Execute a client application using that service (just the exe or the webbrowser, not from inside VS)

Sounds simple, but may be I missed the points.
Avatar of chokka

ASKER

Run Webservice under Debugger

Do i need to open the Webservice in a Seperate VS 2005 Project and run it ?
I already kept Break Points.

Execute the client App

I have 4 layer Vb.net project. In that one layer is this Webservice Project
Its a Windows Application or Smart client Application. we are using Webservice for Stand Alone Application.

When i am able to debug 3 layers, i am not able to debug the 4th layer - Webservice,
Since i have hosted the Webservice in local host and its keep getting called from dll's ( Web Reference ).

ASKER CERTIFIED SOLUTION
Avatar of danirk2
danirk2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chokka

ASKER

ok, how to run the webservice under debugger ..

wat setting, i need to follow ...
In VS, solution explorer, set the webservice as the Startup-project. Hit "debug" (or F5).
Avatar of chokka

ASKER

Thanks