1
votes

Does anybody know how to dynamically invoke WCF service using existing wsdl file? Thus, I don't need to use "Add Service Reference...". Everything should be done dynamically.

I've searched the internet and haven't found anything that is similar to:

EndpointAddress address = new EndpointAddress("http://localhost:3929/Service1.svc?wsdl");

I use VS2008 (.NET 3.5).

Thank you in advance.

Goran

1

1 Answers

-1
votes

If you take a look at the Channel Factory this should be what you need.