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

I have an requirement where I have to consume WCF(svc) services in my application dynamically, i.e. I will have a textbox in my application where the user enters the URL of the service and hits a button which will make my service consumable in my application. I will list out the methods of the service on the screen.

To be more clear, I need to implement the same pop up that appears in visual studio which shows up adding reference that shows all the methods and interface when clicked on button by putting url in the textbox beside it.

Any help will be appreciated.

Updated 2-Oct-22 14:35pm

1 solution

I hope the services publish metadata, or I suspect the answer will be 'you can't'.

Perhaps this might help:[^]
Share this answer
sagar wasule 17-Jul-14 5:07am    
This uses interface of the service to implement, my need is user will enter the url in textbox. The implementation you provided needs reference or interface to be added.

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