Click here to Skip to main content
15,920,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
dear all,

how to use more than one external web service in a single project.
i have a project and using external web services.
now i want to add another external web services in project how to configure in web config file and how to use once in one time.


thank n advance
Posted

Hi,
As the same way you did for webservice1.
Give a different name and go ahead.
It is just a simple thing.
post the details, if you are getting any specific error,
or any where you are struck up.
 
Share this answer
 
how to use more than one external web service in a single project.
You can refer multiple webservices at one time. There is no limitation on the same. Add multiple web references to your web project - use right click option on the web app project - this will automatically make changes to your web.config once you add new reference.

how to use once in one time.
Create an object of the webservice in need and call the methods of that webservice. There will be no issue or conflict with other one(s). All will be independent and object based.


in case you don't know how to add web reference, look here: How to make a simple WebService and consume it.[^]
 
Share this answer
 

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