User220959680 posted
unable add service reference to the client application
If it is the SOAP based service, then below is the process to add service reference to the project.
-
In Solution Explorer, right-click the name of the project that you want to add the service to, and then click Add Service Reference.
The Add Service Reference dialog box appears.
-
Click Discover.
All WCF services in the current solution are added to the Service list.
-
In the Service list, expand the node for the service that you want to use and select a service contract.
-
In the Namespace box, enter the namespace that you want to use for the reference.
-
Click OK to add the reference to the project.
-
A service client (proxy) is generated, and metadata describing the service is added to the app.config file.
Please elaborate 'unable to add service reference'?
Let me know any configuraion required to add reference in iis.
NO.
When the service reference is added to the project visual studio creates proxy class to interact with the service. Note that the service url on IIS is different to your local instance, which is run using Visual Studio IIS express.
#Refer video tutorials
http://channel9.msdn.com/shows/Endpoint/Endpoint-Screencasts-Creating-Your-First-WCF-Client/
http://channel9.msdn.com/shows/Endpoint/Endpoint-Screencasts-Hosting-WCF-Services-in-IIS/
Let me knwo further issues.