Solved

C# Debug Web Service Called In Another Project

Posted on 2015-01-26
4
271 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 75

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

816 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

11 Experts available now in Live!

Get 1:1 Help Now