Top "Service-reference" questions

A Service Reference is a Visual Studio construct which generates code from service metadata (possibly from a service WSDL).

Change service reference URL in code

I'm working in a Windows Phone 8 project and in order to use some webservices I added a service reference with …

c# url windows-phone-8 service-reference visual-studio-2013
WCF Service reference namespace cannot be found

I've got a local WCF service in my solution which I have referenced. However my controller class is not able …

c# wcf namespaces wcf-client service-reference
VS 2010 Error “Object reference not set to an instance of an object” when adding Service Reference for WCF Service

I have a VS2010 (RTM) solution which contains: WCF Service project Console WCF client project Class project for DataContracts and …

visual-studio-2010 wcf service-reference
Compilation errors in Reference.cs after adding a Service Reference caused by multi-part namespace

I hit this weird namespace issue when adding my first 'Service Reference' to a client project in Visual Studio 2010. If …

c# .net wcf visual-studio-2010 service-reference
VS2012 Add Service Reference not updating config file

I have created a new IIS hosts WCF service using the webHttpBinding which is currently running on on IIS Express …

c# .net .net-4.5 service-reference
WCF common types not reused

Hint: This questions has many duplicates, but none of the solutions works for me. What I have is a web …

wcf web-services visual-studio-2010 service-reference
WCF Error {"The username is not provided. Specify username in ClientCredentials."}

I have a WCF webservice hosted in IIS. Here is the configuration of the same: When i try to consume …

web-services wcf web service-reference web-reference
Add Service Reference error "Cannot import wsdl:portType"

I cannot get the Add Service Reference in VS 2010 or 2012 to work for web services built on ServiceStack . I have …

visual-studio-2010 soap visual-studio-2012 servicestack service-reference
Best way to manage multiple Service References in .NET

I have a C# ASP.NET project with 15 WCF/ASMX Service References. Each service is deployed to three different servers; …

asp.net .net wcf visual-studio-2012 service-reference
Including a service reference from a class library

I have a C# class library and a startup project (a console app). The class library includes a service reference …

c# app-config service-reference