I am using visual studio and I have asp.net application as one project and a web service as another project.I am using web service in my asp.net application. There is some sort of problem im my webservice code.But i am unable to debug continuosly from asp.net application to web service.I put break point both in application and web service but break point not activated in web service and it shows me connection error.How can i do this while hosting on localhost?
Just set the project that has service in it to be the main project and set the service to be the main start page. If it doesn't hit the breakpoint it probably didn't load all the symbols. That happens if the project is set to, lets say, Release configuration and not Debug. Show activity on this post.
To install remote debugger you just need to copy msvsmon.exe from your VS installation CD or from machine where VS is already installed and start it. Then when you attach to proccess from your machine you can type in the name of your remote server and click Browse.
Debug Web service callouts with SOAP UIDownload the WSDL of the external system, make the call with all the required parameters and see if you get a valid response, if so then it might some issue with Salesforce making callout, else the problem is with a external system.
If you're running web application as startup project, try running web service in another debug instance.
You can do it by right-clicking on web service project, Debug -> Start new instance
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With