Solved

C# Debug Web Service Called In Another Project

Posted on 2015-01-26
4
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…

761 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