Click here to Skip to main content
15,885,954 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a ASP .net c# solution. It is using some web services to update the database values. How can I check all the web services that are used in my project.? I want to know the urls of all the services. Can you please help me.

NOTE: I don't want the services that created by me. I want only the services that are used by my solution.

Thanks in Advance.
Posted
Comments
Wendelius 24-Jul-15 3:45am    
How have you defined the proxies? If you have added the web services to the project as references, you should find the list when you expand the web references section in your project
Praveen Kumar Upadhyay 24-Jul-15 4:17am    
Best way to search "http" in your entire solution. You will be able to know all your web service URLs.

In you project you may have web services used by using "Service Reference" or you may have calling to web services directly (without Service Reference). So in order to manage both case you have to:

1. First you should look in your project for all used "Service References" by using Solution Explorer.

2. Then you should search for direct call to the web service by searching the next class name
WebService 
.
 
Share this answer
 
The Searching process with .asmx extension in your web.config of the project is the best approach to find whether the service used in your project or not?

If it is found then that is easy to find out that where that service class is consumed in your project.
 
Share this answer
 
v2
Comments
Praveen Kumar Upadhyay 24-Jul-15 4:15am    
Not all Web service has .asmx extension.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900