chokka
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 ..!
ASKER
i am not able to see w3p
I am working VS 2005
I am working VS 2005
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.
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.
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 ).
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok, how to run the webservice under debugger ..
wat setting, i need to follow ...
wat setting, i need to follow ...
In VS, solution explorer, set the webservice as the Startup-project. Hit "debug" (or F5).
ASKER
Thanks
You might also try
in Menu, Debug --> Attach Process --> w3p. You should be able to debug it