Solved

C# Debug Web Service Called In Another Project

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

920 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

16 Experts available now in Live!

Get 1:1 Help Now