Solved

C# Debug Web Service Called In Another Project

Posted on 2015-01-26
4
257 Views
Last Modified: 2015-01-29
I am troubleshooting an error from a webservice.  The issue is that the project calls the webservice from another project.

So I Debug code from Project A which calls a webservice from Project B which returns an error.  Is there an easy way to debug in Project B from A?  I want to be able to step into the code and it is not allowing me to.

Thanks
0
Comment
Question by:CipherIS
4 Comments
 
LVL 11

Expert Comment

by:louisfr
ID: 40570874
Do you have the web service project and the caller in the same solution?
0
 
LVL 8

Expert Comment

by:guvera
ID: 40571247
Hi CipherIS,,

Did you consume the web services? Please see the below link to debug the web service.

http://www.csharptutorial.in/37/csharp-net-how-to-consume-a-web-service-in-csharp-net-visual-studio-2010

Thanks,
Guvera
0
 
LVL 1

Author Comment

by:CipherIS
ID: 40573852
They are not in the same solution.  I could do that.  Was trying to avoid writing extra code and consuming it from there.  Was hoping to debug it from the separate solution.
0
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 40573864
You can; you just need to run both at the same time. I do so all the time. If you can debug through each independently of the other, then you can debug through both together. Just point the local copy of the dependent application to the local copy of the independent application.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now